#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

#9 in #amm

Download history 28/week @ 2024-10-01 375/week @ 2024-10-08 85/week @ 2024-10-15 21/week @ 2024-10-22 145/week @ 2024-10-29 7/week @ 2024-11-05 2/week @ 2024-11-12 27/week @ 2024-11-19 5/week @ 2024-11-26 73/week @ 2024-12-03 16/week @ 2024-12-10 139/week @ 2024-12-31 29/week @ 2025-01-07 40/week @ 2025-01-14

208 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–26MB
~449K SLoC