Inspired by scaffold-eth
Prerequisites: Node (v16 LTS) plus Yarn and Git
clone
git clone https://github.com/HumbleDAO/rocket.git
install and start your π·β Hardhat chain:
cd rocket
yarn install
yarn chain
in a second terminal window, start your π± frontend:
cd rocket
yarn start
in a third terminal window, π° deploy your contract:
cd rocket
yarn deploy
π Edit your smart contract YourContract.sol
in packages/hardhat/contracts
π Edit your frontend App.jsx
in packages/nuxt-app
πΌ Edit your deployment scripts in packages/hardhat/deploy
π± Open http://localhost:3000 to see the app
π Read the docs: https://docs.soliditylang.org
π Go through each topic from solidity by example editing YourContract.sol
in π scaffold-eth
π§ Learn the Solidity globals and units
π 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 going into production