#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

#46 in #price

Download history 241/week @ 2024-07-30 12/week @ 2024-09-10 9/week @ 2024-09-17 17/week @ 2024-09-24 35/week @ 2024-10-01 18/week @ 2024-10-08 43/week @ 2024-10-15 2/week @ 2024-10-22

103 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
~431K SLoC