nifty-asset-interface 0.3.0

Interface for Nifty Asset program
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# <img width="325" alt="nifty-asset-types" src="https://github.com/nifty-oss/asset/assets/729235/cfa1923e-73a6-49e5-89ca-0cbe54cdb591"/>

Interface for Nifty Asset [program](https://github.com/nifty-oss/asset).

The interface defined in this crate should be used to implement proxy programs extending Nifty Asset behaviour. It follows the [Proxy Pattern](https://nifty-oss.org/blog/proxy-pattern) to provide a program interface for developers to build on top and fully customise Nifty Asset.

## Getting started

From your project folder:

```bash
cargo add nifty-asset-interface
```

## Example

The Nifty Asset repository contains an [example proxy program](https://github.com/nifty-oss/asset/tree/main/programs/proxy) showing how to use this crate to add custom behaviour to `transfer` and `update` instructions.