Skip to content
This repository has been archived by the owner on Dec 20, 2022. It is now read-only.

GravityDex Compeition Triangular Arbitrage exploitation script

License

Notifications You must be signed in to change notification settings

somethingnew2-0/GravityDex-Competition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GravityDex Competition Triangular Arbitrage

This script exploits Triangular Arbitrage on the GravityDex for their testnet competition. Arbitrage Opportunity Profit during the GravityDex competition can be made by swapping between the listed triples, given minimal price slippage and swapping fees.

Running bundle exec ruby main.rb will show something like the below

Opportunity - Triples to Trade
113.49%  ucom => uregen => udvpn
112.20%  ucom => ubtsg => udvpn
111.01%  ucom => uiris => udvpn
110.08%  ucom => ungm => udvpn
110.05%  uakt => udvpn => ucom

Usage

bundle exec ruby main.rb help arbitrage
Usage:
  main.rb arbitrage

Options:
  t, [--threshold=N]
                        # Default: 10
  f, [--filter=FILTER]

Calculates arbitrage opportunites for the GravityDex competition

About

GravityDex Compeition Triangular Arbitrage exploitation script

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages