#amm #tensor #foundation

tensor-amm

Client crate for the Tensor Foundation amm program

4 releases

new 0.3.2 Sep 16, 2024
0.3.1 Aug 29, 2024
0.3.0 Aug 28, 2024
0.2.0 Jul 31, 2024
0.1.0 Jul 29, 2024

#577 in Magic Beans

Download history 113/week @ 2024-07-24 179/week @ 2024-07-31 2/week @ 2024-08-14 2/week @ 2024-08-21 247/week @ 2024-08-28 115/week @ 2024-09-11

366 downloads per month

Custom license

645KB
13K 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
~441K SLoC