GithubHelp home page GithubHelp logo

arumry / arbitrage-bot-between-uniswap-and-sushiswap-with-flashloans Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nachoxt17/arbitrage-bot-between-uniswap-and-sushiswap-with-flashloans

0.0 1.0 0.0 1.58 MB

Shell 0.69% Solidity 84.64% JavaScript 14.67%

arbitrage-bot-between-uniswap-and-sushiswap-with-flashloans's Introduction

+-YOU NEED TO MODIFICATE THE "index.js" FILE IN A WAY THAT IT MONITORS THE DIFFERENT PRICES OF THE SAME TOKENS IN DIFFERENT DECENTRALIZED EXCHANGES SO IT TRIGGERS THE "ArbitrageFlashLoaner.sol" S.C. AND PERFORMS THE ARBITRAGE TRADE AUTOMATICALLY.

+-For Testing the Successfully working "index.js" (when you have it) you should Test it with the S.C. Deployed and Verified in the Ropsten Ethereum TestNet:_ https://ropsten.etherscan.io/address/0x455835f93a2eab153b5f5d6f387c49aaa8ab9007

+You can get Ropsten Test Ether Here:_ https://faucet.dimensions.network/

+-Arbitrage Tutorials:_ https://blog.infura.io/build-a-flash-loan-arbitrage-bot-on-infura-part-i/ https://blog.infura.io/build-a-flash-loan-arbitrage-bot-on-infura-part-ii/

+-Quick Project start:_

+-(1)-The first things you need to do are cloning this repository and installing its dependencies:

npm install

+-(2-A)-Once installed, open a 1st Terminal and let's run Ropsten Ethereum Test Network(https://hardhat.org/tutorial/deploying-to-a-live-network.html):\_

npx hardhat run scripts/deploy.js --network ropsten

+-(2-B)-Or you can also Test your Project Cloning the Ethereum Main Network in your Local Hardhat Node:_ https://hardhat.org/guides/mainnet-forking.html

npx hardhat node

+-(3)-Then, you can run this to Test the Script "index.js" part of the Bot:_

npm run start

Note: There's an issue in ganache-core that can make the npm install step fail.

If you see npm ERR! code ENOLOCAL, try running npm ci instead of npm install.

Open http://localhost:3000/ to see your Dapp. You will need to have Metamask installed and listening to localhost 8545.

User Guide:_

You can find detailed instructions on using this repository and many tips in its documentation.

For a complete introduction to Hardhat, refer to this guide.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.