A showcase of the state sync mechanic for building cross chain apps on polygon!
For a walkthrough on how to use this Click here!
Prerequisites: Node plus Yarn and Git
clone/fork ๐ scaffold-eth:
git clone https://github.com/scaffold-eth/scaffold-eth-examples.git
install and start your ๐ทโ Hardhat chain:
cd scaffold-eth
git checkout polygon-bridge-test
yarn install
in a second terminal window, start your ๐ฑ frontend:
cd scaffold-eth
yarn start
in a third terminal window, ๐ฐ deploy your contract:
cd scaffold-eth
yarn deploy
๐ Edit your smart contract YourContract.sol
in packages/hardhat/contracts
๐ Edit your frontend App.jsx
in packages/react-app/src
๐ผ Edit your deployment scripts in packages/hardhat/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!
-
๐ซ Extend the NFT example to make a "buyer mints" marketplace
-
โ๏ธ Learn how ecrecover works
-
๐ฉโ๐ฉโ๐งโ๐ง Build a multi-sig that uses off-chain signatures
-
โ๏ธ Learn how a simple DEX works
-
๐ฆ Ape into learning!
Join the telegram support chat ๐ฌ to ask questions and find others building with ๐ scaffold-eth!
๐ Please check out our Gitcoin grant too!