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