Skip to content

22a435/Maat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maat

A Program to profitably rebalance prices between Penumbra and Osmosis. (aka an arbitrage bot)

Setup

Program expects chain binaries to be available in path, with wallets initialized and appropriate balances available. pcli should be initialized with soft-kms and GRPC of choice. Cosmos-SDK binaries should have keys loaded into keyring-backend=test.

Example

pcli init --grpc-url https://void.s9.gay soft-kms generate

osmosisd keys add Maat --keyring-backend=test

Usage

Project is managed with the python package/project manager uv.

Runtime configuration can be provided with config.toml, or with command line arguments which override config file values.

Example config.toml

TokenA = "UM"
TokenB = "OSMO"

[Osmosis]
RPC = "https://rpc.osmosis.zone"
Wallet = "Maat"

[Penumbra]
RPC = "https://void.s9.gay"
Account = "0"

Default Usage

uv run maat.py

Equivalent Args

uv run maat.py --TokenA UM --TokenB OSMO --Osmosis_Wallet Maat --Penumbra_Account 0

UM/USDC Example

uv run maat.py --TokenA UM --TokenB USDC --Osmosis_Wallet Maat --Noble_Wallet Maat --Penumbra_Account 1

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages