Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/PanIndustrial-Org/icrc_nft.mo
An example nft built on ICRC7/37/3 standards
https://github.com/PanIndustrial-Org/icrc_nft.mo
Last synced: 3 months ago
JSON representation
An example nft built on ICRC7/37/3 standards
- Host: GitHub
- URL: https://github.com/PanIndustrial-Org/icrc_nft.mo
- Owner: PanIndustrial-Org
- License: mit
- Created: 2023-12-02T15:55:05.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-05-09T01:22:40.000Z (6 months ago)
- Last Synced: 2024-05-09T02:32:21.707Z (6 months ago)
- Language: Motoko
- Homepage:
- Size: 19.5 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-motoko - icrc-nft-mo - A Sample NFT combining icrc7-mo, icrc30-mo, icrc3-mo. (Applications / Cryptocurrencies)
README
# icrc_nft.mo
## 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:
- 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.moA 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 can be referenced in earlier referenced documentation.
## 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