Prerequisites: Node (v16 LTS) plus Yarn and Git
clone/fork π dapp-scaffold:
git clone https://github.com/lowk3v/dapp-scaffold -b auditinstall and start your π·β Hardhat chain:
cd dapp-scaffold
yarn install
yarn chainin a second terminal window, start your π± frontend:
cd dapp-scaffold
yarn startin a third terminal window, π° deploy your contract:
cd dapp-scaffold
yarn deployπ Edit your smart contract YourContract.sol in contracts
π You need an RPC key for testnets and production deployments, create an Alchemy account and replace the value of ALCHEMY_KEY = xxx in packages/react-app/src/constants.js with your new key.
π£ Make sure you update the InfuraID before you go to production. Huge thanks to Infura for our special account that fields 7m req/day!