A Playground for ERC20 & ERC721 experimentation
Uses hackathon boilerplate environment for Hardhat & React projects
Setup your environment from the project root folder:
npm installYou'll need to create 2 .env files to store secrets and fill in the appropriate values:
touch .env
touch frontend/.envThen run Hardhat's testing network:
npx hardhat nodeThen in a new terminal window, deploy your contracts from the root folder:
npx hardhat run scripts/deploy.js --network localhostYou can also attach a console to interact with the local chain:
npx hardhat console --network localhostFinally, we can run the frontend with:
cd frontend
npm install
npm startOpen http://localhost:3000/ to view the running dApp. You will
need to have Metamask installed and listening to
localhost 8545.