Scaffold-ETH x Buildbear
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
π» Features of Scaffold-ETH x Buildbearβ
Creating 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
π¬ Support Chat
Join the telegram support chat π¬ or buidlguidl discord to ask questions and find others building with π scaffold-eth!