10 releases (4 breaking)

0.4.0 Apr 18, 2024
0.3.0 Apr 11, 2024
0.2.1 Apr 9, 2024
0.1.2 Mar 29, 2024
0.0.0 Feb 27, 2024

#1677 in Magic Beans

Download history 153/week @ 2024-02-26 240/week @ 2024-03-04 189/week @ 2024-03-11 48/week @ 2024-03-18 524/week @ 2024-03-25 172/week @ 2024-04-01 363/week @ 2024-04-08 211/week @ 2024-04-15

1,271 downloads per month
Used in nifty-cli

Apache-2.0

380KB
9K SLoC

nifty-asset

A Rust client SDK for Nifty Asset program.

Getting started

From your project folder:

cargo add nifty-asset

Structure

The 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 helpers
  • 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

~16–25MB
~419K SLoC