/Bladder.Mo

An example nft built on ICRC7/37/3 standards

Primary LanguageMotokoMIT LicenseMIT

Bladder.mo

nft implementation of icrc 7/37/3 with an added escrow function. nft owner can escrow with a unique-to-nft adress via a query endpoint.

Install

mops add icrc_nft-mo

Deployment

The simplest deployment is to provide null arguments to each ICRC(3,7,30) component.

Edit the files in /example/initial_state for each ICRC.

dfx deploy icrc7 --argument 'record {icrc7_args = null; icrc37_args =null; icrc3_args =null;}' --mode reinstall

This will produce an NFT canister with the default config. For more fine grained control, please consult the documentation for each project:

A sample deployment/functional script is provided in deploy.sh in the example folder.

Provided functions

For sample minting, burning, approval, transfer functions, please see the deploy.sh file in the examples folder.

Further availability of functionality of the wallet festure is coming.

Documentation

in development

Pre-compiled docs can be found on mops.one at: