package
0.0.0-20240729153035-2e263b3a24d2
Repository: https://github.com/kava-labs/go-tools.git
Documentation: pkg.go.dev

# README

Kava Auction Bot

Automated bot for bidding on collateral and debt auctions on the Kava platform. Note - only compatible with v0.14+ of kava.

Setup

Create a .env file:

# Chain id is the network id for the chain
KAVA_CHAIN_ID=kava_2222-10
# GRPC endpoint, scheme must be included
KAVA_GRPC_URL="https://grpc.testnet.kava.io:443"
# Mnemonic
KEEPER_MNEMONIC="secret words here"
# Profit margin required for bot to bid (1.5% in the example)
BID_MARGIN="0.015"

Optional config:

# Time between attempts to bid on auctions
BID_INTERVAL="10m"
# Manually set prices for assets
PRICE_OVERRIDES="{\"usdc\": \"1.00\",\"example\":\"1.234\"}"

Usage

go run .

Bot will bid attempt to bid on all auctions where the profit margin is greater than what is specified in BID_MARGIN. Note, bot does not currently track account balances, so it will attempt to create bids even for auctions for which it doesn't have sufficient funds.