Crate dip721_rs

Source
Expand description

§DIP721-rs

DIP721-rs is a Rust library which provides the trait, the interface and types for Canisters that implement the DIP721 standard.

§Get started

Add the following to your Cargo.toml:

[dependencies]
dip721 = "0.1.0"

§Features

  • ic-stable-structures (default): enables Storable for DIP721 types.

Structs§

Metadata
Metadata for a DIP721 canister
Stats
Canister stats
TokenMetadata
Metadata for a DIP721 token
TxEvent
Transaction event

Enums§

GenericValue
Properties value representation for a token
NftError
Represent an NFT error to return via API
SupportedInterface
Supported interfaces for a DIP721 canister

Traits§

Dip721
Represents the method a DIP721 canister must implement

Type Aliases§

TokenIdentifier
NFT token identifier