letmejustputthishere / icrc_nft.mo

An example nft built on ICRC7/30/3 standards

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

icrc_nft.mo

Prerequisites

  • mops
  • dfx 0.15.1

Test

  • run npm run test

Deployment

  • dfx start --clean --background
  • ./deploy.sh

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

dfx deploy icrc7 --argument 'record {icrc7_args = null; icrc30_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.

Provided functions

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

Further availability of functionality can be referenced in earlier referenced documentation.

Documentation

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

About

An example nft built on ICRC7/30/3 standards

License:MIT License


Languages

Language:JavaScript 42.4%Language:Motoko 24.6%Language:TypeScript 18.5%Language:Shell 14.6%