#configuration #solana #defi #tulip-protocol

so-defi-utils

utility functions for working with solana programs

7 releases

0.1.6 Jul 16, 2022
0.1.5 Jul 15, 2022
0.1.1 May 1, 2022
0.1.0 Apr 4, 2022

#6 in #tulip-protocol

Download history 5/week @ 2024-01-08 6/week @ 2024-02-19 26/week @ 2024-02-26 19/week @ 2024-03-04 15/week @ 2024-03-11 13/week @ 2024-03-18 23/week @ 2024-03-25

71 downloads per month
Used in 5 crates (2 directly)

MIT/Apache

8KB
130 lines

SoDefi

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

Supported Protocols

  • Orca
  • Raydium
  • Atrix

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

Usage

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

Dependencies

~16–26MB
~413K SLoC