- install node.
- in cli
git clone https://github.com/kongcheng1400/stark-mzg.git
cd stark-mzg
npm install
- change the key in starkSetup.mjs
- create a starknet api in alchemy, and update in the helloSpiritStone.mjs to get a full speed. nodeUrl: "https://starknet-mainnet.g.alchemy.com/v2/yourapikey"
- run
node helloSpiritStone.mjs