Skip to content

πŸ— forkable Ethereum dev stack focused on fast product iterations

License

Notifications You must be signed in to change notification settings

adam1schuler/scaffold-eth

Β 
Β 

Repository files navigation

πŸ— 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

🐻 Features of Buildbear

Creating your private testnet

image

Using your personal native token faucet

image

Using your personal ERC20 faucet

image

Swap your tokens on Forked Uniswap

image

πŸ„β€β™‚οΈ 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 :

  1. USDC
  2. USDT
  3. DAI
  4. BNB
  5. BUSD
  6. MATIC
  7. WBTC
  8. UNI
  9. 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!

πŸƒπŸ’¨ 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 πŸ’¬ or buidlguidl discord to ask questions and find others building with πŸ— scaffold-eth!

About

πŸ— forkable Ethereum dev stack focused on fast product iterations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 72.4%
  • JavaScript 20.9%
  • Solidity 6.2%
  • Shell 0.2%
  • HTML 0.1%
  • TypeScript 0.1%
  • Less 0.1%