2187Nick / scaffold-eth-arbitrage-learning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ— Scaffold-ETH-Arbitrage-Learning

Learn how to Use Flash Loans to Profit from Arbitrage Opportunities Uniswap V2 to V3 Goerli Testnet! πŸš€

πŸ§ͺ Quickly deploy and experiment with Solidity using a frontend that adapts to your smart contract

Try Live Demo: https://arbv2.surge.sh/

arby

πŸ§ͺ Connect with Goerli. Press Execute Arbitrage. The profit will arrive in your wallet.

πŸ§ͺ View all the transactions on etherscan: arby2

πŸ§ͺ Visual representation of the process: arb_excal

πŸ„β€β™‚οΈ Quick Start

Code Prerequisites: Node (v16 LTS) plus Yarn and Git

clone/fork πŸ— scaffold-eth-arbitrage-learning:

git clone https://github.com/2187Nick/scaffold-eth-arbitrage-learning.git

install πŸ‘·β€:

cd scaffold-eth-arbitrage-learning
yarn install

start your πŸ“± frontend:

yarn start

in a second terminal window, πŸ›° deploy your contract to Goerli:

cd scaffold-eth-arbitrage-learning
yarn deploy

πŸ“± Open http://localhost:3000 to see the app.

In part 2 we will deploy live on Polygon

πŸ“š Additional

πŸ” Edit the smart contract UniswapV2toV3Arbitage.sol in packages/hardhat/contracts

πŸ“ Edit your frontend App.jsx in packages/react-app/src

πŸ’Ό Edit your deployment scripts in packages/hardhat/deploy

πŸ“š Documentation

Documentation, tutorials, challenges, and many more resources, visit: docs.scaffoldeth.io

🍦 Other Flavors

πŸ”­ 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!

πŸ’Œ P.S.

🌍 You need an RPC key for testnets and production deployments, create an Alchemy account and replace the value of ALCHEMY_KEY = xxx in packages/react-app/src/constants.js with your new key.

πŸ“£ Make sure you update the InfuraID before you go to production. Huge thanks to Infura for our special account that fields 7m req/day!

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


πŸ™ Please check out our Gitcoin grant too!

Automated with Gitpod

Open in Gitpod

About

License:MIT License


Languages

Language:CSS 85.5%Language:JavaScript 13.1%Language:Solidity 0.9%Language:Shell 0.2%Language:HTML 0.1%Language:TypeScript 0.1%Language:Less 0.1%