中文 / English
-
Configure private key Enter private key in .env, formatted with "PRIVATE_KEY=xxxx"
-
Install dependencies
yarn
- Create a simple project selected. Add contract names SimpleToken.sol to ./contracts and compile the contract to run testing.
npx hardhat compile
npx hardhat test
- Deploy
npx hardhat run scripts/deploy.js --network kovan
-
Find your private key and address of token in your local node's account, imported to Metamask
-
Backend
cd backend
yarn
node app.js
- Startup react
cd frontend
yarn
yarn start