๐ Scaffold-ETH x Buildbear
๐งช Quickly experiment with Solidity using a forked private testnet, from the mainnet, and swapping tokens from Uniswap
Scaffold-Eth x Buildbear lets you create your own private testnet, (optional) forked from the mainnet, with your own native token and ERC20 Token faucet and blockchain explorer
Buildbear
๐ป Features ofCreating your private testnet
Using your personal native token faucet
Using your personal ERC20 faucet
Swap your tokens on Forked Uniswap
๐โโ๏ธ Quick Start
Prerequisites: Node (v18 LTS) plus Yarn (v1.x) and Git
๐จ If you are using a version < v18 you will need to remove openssl-legacy-provider
from the start
script in package.json
1๏ธโฃ clone/fork ๐ scaffold-eth x buildbear:
git clone https://github.com/BuildBearLabs/scaffold-eth.git
2๏ธโฃ install and create your private testnet (forked from the mainnet):
cd scaffold-eth
yarn install
yarn fork-bb
3๏ธโฃ ๐ฐ deploy your SwapOnUniswap Contract:
cd scaffold-eth
yarn deploy
4๏ธโฃ start your ๐ฑ frontend:
๐จ if you have not created your private testnet please follow the the steps in point 2 above:
cd scaffold-eth
yarn start
5๏ธโฃ you can use your ๐ฐ faucet directly from the terminal after creating your private tesnet:
# for native tokens
yarn faucet-bb native <Insert Amount (optional)> <Insert Your Wallet Address>
# for erc20 tokens
yarn faucet-bb USDC <Insert Amount (optional)> <Insert Your Wallet Address>
# Please note the supported ERC20 tokens below
# by default faucet mints 100 native / erc20 tokens
Supported ERC20 tokens that can be used :
- USDC
- USDT
- DAI
- BNB
- BUSD
- MATIC
- WBTC
- UNI
- AAVE
# Please note the address for each ERC20 Tokens is automatically updated / changed based on the network that you have forked from
๐ Edit your smart contracts 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
Documentation, tutorials, challenges, and many more resources, visit: docs.scaffoldeth.io
๐ญ Learning Solidity
๐ 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
๐ Buidl
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!
๐๐จ Speedrun Ethereum
Register as a builder here and start on some of the challenges and build a portfolio.
๐ฌ Support Chat
Join the telegram support chat ๐ฌ, support chat ๐ฌ (BuildBear) or buidlguidl discord to ask questions and find others building with ๐ scaffold-eth!