#configuration #solana #defi #tulip-protocol

so-defi-config

configuration crate for so-defi

19 releases

0.1.21 Feb 8, 2023
0.1.20 Feb 8, 2023
0.1.18 Aug 27, 2022
0.1.17 Jul 20, 2022
0.1.2 Mar 31, 2022

#1 in #tulip-protocol

50 downloads per month

MIT/Apache

48KB
1K SLoC

SoDefi

A set of rust crates for working with DeFi protocols across the Solana ecosystem.

Supported Protocols

  • Orca
  • Raydium
  • Atrix
  • Whirlpool
  • SolanaFm (/transfers)

Crates

so-defi-config

Configuration parsing create that supports parsing the output from the various API's offered by the following protocols:

  • Orca
  • Raydium
  • Atrix

Provides helpers for parsing the configuration api's available from Orca, and Raydium.

so-defi-atrix

  • For working with atrix this is the crate you want to import

so-defi-token-list

  • Parses the public tokenlist to pull names, and token mints.
  • Useful for brute forcing the name of a market given it's coin/pc constituents

so-defi-solanafm

  • Simple crate to fetch /transfesr from solanafm's api

Usage

For usage information please see the various unit tests included in each crate and module.


lib.rs:

provides helpers for parsing configuration data related to the Orca and Raydium AMMs from their respective configuration api

Dependencies

~22–35MB
~594K SLoC