gravity-dex-firestation

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

README

B-Harvest

Gravity Dex Firestation 🚒

Overview

The pool price management bot to stabilize overpriced pools during the Gravity DEX incentivized testnet. This project is developed solely for the purpose of pool price management during the incentivized testnet. It is developed in fast-pace; therfore it surely requires some work to generalize the codebase for better adoption and efficiency. If you would like to use this for your own usage, make sure to go through the codebase thoroughly and change them as you need.

Note: Requires Go 1.15+

Version

Configuration

This firestation repo requires a configuration file, config.toml in current working directory. An example of configuration file is available in example.toml and the config source code can be found in here.

Build

# Clone the project 
git clone https://github.com/b-harvest/gravity-dex-firestation.git
cd gravity-dex-firestation

# At this point, CLI commands are not developed and all the logic is inside main function.
go run main.go

CoinMarketCap Metadata

name id symbol denom
Cosmos Hub 3794 ATOM uatom
Bitsong 8905 BTSG ubtsg
Sentinel 2643 DVPN udvpn
Persistence 7281 XPRT uxprt
Akash Network 7431 AKT uakt
Terra 4172 LUNA uluna
E-Money 8279 NGM ungm
IRISnet 3874 IRIS uiris
NOT LISTED COINS 3874 IRIS uiris
... ...

Test

# Set up a local network
make localnet

# Read through https://github.com/b-harvest/liquidity-stress-test repo and move into the directory
# Create all pools with the existing coins 
tester ca

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
rpc

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL