mops add icrc_nft-mo
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:
- ICRC3 - Transaction Log and Archive - https://github.com/PanIndustrial-Org/icrc37.mo
- ICRC7 - Base NFT - https://github.com/PanIndustrial-Org/icrc7.mo
- ICRC37 - Approval workflow - https://github.com/PanIndustrial-Org/icrc37.mo
A sample deployment/functional script is provided in deploy.sh in the example folder.
For sample minting, burning, approval, transfer functions, please see the deploy.sh file in the examples folder.
Further availability of functionality can be referenced in earlier referenced documentation.
Pre-compiled docs can be found on mops.one at:
- ICRC3 - Transaction Log and Archive - https://mops.one/icrc3-mo/docs/lib
- ICRC7 - Base NFT - https://mops.one/icrc7-mo/docs
- ICRC37 - Approval workflow - https://mops.one/icrc37-mo/docs