#tensor #lock #price

tensor-price-lock

Client crate for the Tensor Foundation price-lock program

1 unstable release

0.2.0 Jul 31, 2024
0.1.0 Jul 30, 2024

#48 in #price

48 downloads per month
Used in tensor-eigen

Custom license

2.5MB
60K SLoC

Rust client SDK for Price Lock

An autogenerated Rust client SDK for the project.

Getting started

From your project folder:

cargo add price-lock

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

~17–25MB
~432K SLoC