A quick starter to build on Ethereum and Polygon! π
Stack used Next.js, Chakra-UI, Hardhat, Rainbow Wallet, Wagmi π
Prerequisites: Node (v16 LTS) plus Yarn and Git
clone/fork π¦ web3-starter-kit:
git clone https://github.com/lakshh07/Web3-Starter-Kit.git
install your π·β dependencies:
cd web3-starter-kit
yarn install
in a second terminal window, start your π± frontend:
cd web3-starter-kit
yarn dev
Contract are deployed on Polygon Mumbai
π£ Checkout branches for
React.js
andTypescript
π Edit your smart contract Greeter.sol
in packages/hardhat/contracts
π Edit your frontend index.js
in packages/next-app/pages/
πΌ Edit your deployment scripts deploy.js
in packages/hardhat/scripts
π± Open http://localhost:3000 to see the app
π You need an RPC key for testnets and production deployments, create an Alchemy account and replace the value of ALCHEMY_KEY = xxx
in packages/hardhat/.env
with your new key.
Solidity: https://docs.soliditylang.org/en/v0.8.14/
Next.js: https://nextjs.org/docs
ChakraUI: https://chakra-ui.com/docs/components/overview
Hardhat: https://hardhat.org/getting-started/
Rainbow Kit: https://www.rainbowkit.com/docs/introduction
Wagmi: https://wagmi.sh/docs/getting-started
Ether.js: https://docs.ethers.io/v5/