Skip to content
프로젝트

소개

uniswap과 kyber의 가격 차이를 찾는 차익거래 봇입니다. 플래시 론을 이용해 두 거래소 간에 거래합니다. #eattheblocks 강좌

학습 및 교육

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
+1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

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

관련 프로젝트 살펴보기

불러오는 중…