everything you need to build on Ethereum! π
π View the Live Demo
Prerequisites: Node plus Yarn and Git
clone/fork π scaffold-eth:
git clone --branch nextjs-typescript https://github.com/austintgriffith/scaffold-eth.git
cd scaffold-eth
yarn install
# Start up the Hardhat Network
yarn chain
Here we just install the npm project's dependencies, and by running yarn chain
we spin up an instance of Hardhat Network that you can connect to using MetaMask. In a different terminal in the same directory, run:
yarn deploy
This will deploy the contract to Hardhat Network. After this completes run:
yarn dev
This will start up the Next.js development server and your site will be available at http://localhost:3000/
To interact with the local contract, be sure to switch your MetaMask Network to Localhost 8545
π Edit your smart contract YourContract.sol
in packages/hardhat/contracts
π Edit your frontend in packages/frontend/pages/index.tsx
πΌ Edit your deployment scripts in packages/hardhat/scripts/deploy
π± Open http://localhost:3000 to see the app
Documentation, tutorials, challenges, and many more resources, visit: docs.scaffoldeth.io
π 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
Check out all the active branches, open issues, and join/fund the π° BuidlGuidl!
Join the telegram support chat π¬ to ask questions and find others building with π scaffold-eth!
π Please check out our Gitcoin grant too!