Git Product home page Git Product logo

defi-arb-bot's Introduction

Defi-Arb-Bot

arbitrage bot, looks for prices differences on uniswap and kyber. Uses flashloan to make a trade between 2 exchanges. Work in progress, use at your own risk

npm install

curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -

sudo apt-get install -y nodejs

truffle migrate --network mainnet --reset

node run-arbitrage.js

1_initial_migration.js
======================
   Deploying 'Migrations'
   ----------------------
   > transaction hash:    0x9dcb132884a188d7fa15006bc9b8ce4a5fa203ecb0e2ceb384d7de185ae41301
   > Blocks: 1            Seconds: 12
   > contract address:    0xd8Ee44f8C6cb7AD9714B76077Ad1e3Bd08bdF855
   > block number:        10744238
   > block timestamp:     1598552780
   > account:             0x91Df1a2dA70F5a9085773ea483aA46F7c13a728F
   > balance:             1.143624444
   > gas used:            191943 (0x2edc7)
   > gas price:           92 gwei
   > value sent:          0 ETH
   > total cost:          0.017658756 ETH
   > Saving migration to chain.
   > Saving artifacts
   -------------------------------------
   > Total cost:         0.017658756 ETH
2_deploy_contracts.js
=====================
   Replacing 'Flashloan'
   ---------------------
   > transaction hash:    0x2e1f725ec0540ca2917cc018c03c7715b5090c109552ca0de2a20d6a0452abcf
   > Blocks: 1            Seconds: 4
   > contract address:    0x92E52890cfA407D9713A6cFcd7FB6F8d50B99FB2
   > block number:        10744242
   > block timestamp:     1598552813
   > account:             0x91Df1a2dA70F5a9085773ea483aA46F7c13a728F
   > balance:             0.930864232
   > gas used:            2270273 (0x22a441)
   > gas price:           92 gwei
   > value sent:          0 ETH
   > total cost:          0.208865116 ETH
   > Saving migration to chain.
   > Saving artifacts
   -------------------------------------
   > Total cost:         0.208865116 ETH

defi-arb-bot's People

Contributors

byte1122 avatar olegmitrakhovich avatar

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.