#amm #tensor #version

tensor-amm

Client crate for the Tensor Foundation amm program

9 releases (1 stable)

1.0.0 Jan 3, 2025
0.8.0 Oct 31, 2024
0.7.0 Oct 11, 2024
0.2.0 Jul 31, 2024

#12 in #amm

22 downloads per month
Used in tensor-eigen

Custom license

1MB
18K SLoC

Contains (ELF lib, 1.5MB) tests/fixtures/escrow_program.so, (ELF lib, 370KB) tests/fixtures/whitelist_program.so

Rust client SDK for Amm

An autogenerated Rust client SDK for the project.

Getting started

From your project folder:

cargo add amm

Structure

The client SDK is divided into several modules:

  • accounts: structs representing the accounts of the program
  • errors: enums representing the program errors
  • instructions: structs to facilitate the creation of instructions, instruction arguments and CPI instructions
  • types: structs representing types used by the program

Contributing

Check out the Contributing Guide the learn more about how to contribute to this library.

Dependencies

~18–27MB
~472K SLoC