Skip to content

MathieuGilbert/aabot

Folders and files

NameName
Last commit message
Last commit date
Aug 24, 2018
Oct 11, 2018
Aug 16, 2018
Aug 24, 2018
Aug 24, 2018
Oct 11, 2018
Oct 11, 2018
Aug 29, 2018
Oct 11, 2018
Oct 11, 2018
Aug 28, 2018
Aug 24, 2018
Aug 24, 2018
Aug 16, 2018

Repository files navigation

AABot

Developer Setup

  • Run local Ethereum node: Ganache
  • truffle compile; truffle test

Generating .go adapter from contract .sol

abigen -sol ethereum/contracts/EtherDelta.sol -pkg etherdelta -out adapters/etherdelta/contract.go
abigen -sol ethereum/contracts/BAT.sol -pkg bat -out adapters/bat/contract.go
abigen -sol ethereum/contracts/LINK.sol -pkg link -out adapters/link/contract.go
abigen -sol ethereum/contracts/DICE.sol -pkg dice -out adapters/dice/contract.go
abigen -sol ethereum/contracts/OMG.sol -pkg omg -out adapters/omg/contract.go

Generate contract abi

solc --abi -o adapters/dexbot ethereum/contracts/DexBot.sol

Node Packages

Install dependencies: npm install

Live reloading: npm run watch

Kill process running on a port:

lsof -t -i tcp:5000 | xargs kill

TODO:

About

Crypto DEX monitor for atomic arbitrage trading

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages