A transgender woman who allegedly attacked two convenience shop customers and a pedestrian with an axe had previously talked to friends about death, a jury has been told.

Evie Amati, 26, was allegedly captured on CCTV footage in Enmore, Sydney's inner-west, as she allegedly unleashed the unprovoked attack on Sharon Hacker and Benjamin Rimmer on January 7 2017.

Amati was drinking with friends earlier in the night and the group had taken what they believed to have been ecstasy, a NSW District Court jury heard on Monday.

Scroll down for video

Evie Amati (pictured), a transgender woman, is accused of an alleged axe attack at a 7-Eleven in Sydney's inner-west in 2017

Benjamin Ritter, the 7-Eleven employee who was allegedly attacked (pictured, right) gave evidence at the NSW District Court on Monday July 9

Less than half-an-hour before Amati walked into the 7-Eleven, armed with the axe and with a knife in her back pocket, she sent a message saying: 'humans are only able to destroy, to hate, so that is what I should do', prosecutor Daniel McMahon told the court.

'Most people deserve to die, I hate people… one day I'm going to kill a lot of people,' Amati wrote in a Facebook conversation, Mr McMahon claimed.

A 7-Eleven employee who was allegedly attacked by Amati told the court he initially thought the weapon had been a fancy-dress party prop.

'I wasn't alarmed at first,' Benjamin Rimmer testified.

'She stood very close to me and I remember having an ill-feeling something was not right.

Prosecutor Daniel McMahon told the court of Facebook messages Amati (pictured) had written, including: 'humans are only able to destroy, to hate, so that is what I should do'

'She was holding an axe with two hands in front of her.'

Mr Rimmer was king-hit across the face which knocked to the floor.

He saw he was bleeding profusely and started to panic, so took off his shirt to stem the flow.

He underwent lengthy surgery, having sustained a fractured nasal bone, eye socket and cheek bone.

Sharon Hacker, a customer who was also inside the 7-Eleven, described being attacked from behind with the axe, which resulted in her falling, feeling disoriented and feeling a throb in her head.

CCTV footage captured the moment a blonde woman smashed two people in the head with an axe in a Sydney 7-Eleven

Sharon Hacker (pictured, leaving court), one of the victims, survived the attack in part due to her dreadlocks

She suffered a fracture to the base of her skull but her thick dreadlocks apparently cushioned the impact.

Due to her extreme nerve pain, she now cannot sleep more than three hours at a time.

Amati has pleaded not guilty to two counts of wounding with intent to murder and one of attempting to wound a pedestrian with intent to murder.

Three alternative charges allege the intention was to cause grievous bodily harm in the attacks.

The defence barrister Charles Waterstreet said that Amati (pictured) was 'super-intelligent' but had a history of mental health issues

The attacks are not in issue, but the jurors will have to consider Amati's intent and whether a defence of mental illness can be made out.

Her barrister Charles Waterstreet said while the CCTV footage from the store captures 'the body of Evie Amati', the question for them was her state of mind.

He told the court that his client was a 'super-intelligent' woman of very good character who had hormonal therapy and surgical intervention in Thailand, but who had a history of depression and suicidal and homicidal ideation.

At the time of the attacks, her fragile mind was affected by a 'toxic mixture' of drugs - hormonal, cannabis and an amphetamine-based drug, which she and her friends unwittingly thought was ecstasy, the court heard.

The trial is continuing.

Lifeline 13 11 14

Beyondblue 1300 22 4636.

Ritter (pictured) initially suspected that the axe was a party prop before developing an 'ill-feeling'