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/
π§ͺ Connect with Goerli. Press Execute Arbitrage. The profit will arrive in your wallet.
π§ͺ View all the transactions on etherscan:
π§ͺ Visual representation of the process:
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.
π 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, tutorials, challenges, and many more resources, visit: docs.scaffoldeth.io
- scaffold-eth-typescript
- scaffold-eth-tailwind
- scaffold-nextjs
- scaffold-chakra
- eth-hooks
- eth-components
- scaffold-eth-expo
- scaffold-eth-truffle
π 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!
π 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!
Register as a builder here and start on some of the challenges and build a portfolio.
Join the telegram support chat π¬ to ask questions and find others building with π scaffold-eth!
π Please check out our Gitcoin grant too!