Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rocklabs-io/ic-nft
Non-fungible token standard for the DFINITY Internet Computer
https://github.com/rocklabs-io/ic-nft
dfinity icp nft
Last synced: 3 months ago
JSON representation
Non-fungible token standard for the DFINITY Internet Computer
- Host: GitHub
- URL: https://github.com/rocklabs-io/ic-nft
- Owner: rocklabs-io
- License: mit
- Created: 2021-09-24T06:23:55.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-30T04:10:41.000Z (over 2 years ago)
- Last Synced: 2024-08-03T14:08:32.191Z (6 months ago)
- Topics: dfinity, icp, nft
- Language: Motoko
- Homepage:
- Size: 152 KB
- Stars: 47
- Watchers: 2
- Forks: 20
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-icp - rocklabs-io/ic-nft - io)Non-fungible token standard for the DFINITY Internet Computer (Lib)
- awesome-motoko - ic-nft - A NFT standard implementation for the Internet Computer, the interfaces mainly follow the ERC721 standard. (Applications / Cryptocurrencies)
- awesome-motoko - ic-nft - A NFT standard implementation for the Internet Computer, the interfaces mainly follow the ERC721 standard. (Applications / Cryptocurrencies)
README
## Non-fungible Token Standard for the IC
This is an NFT standard implementation for the DFINITY Internet Computer, the interfaces mainly follow the ERC721 standard, and we also added support for transaction history storage and query, make NFTs(including their metadata) traceable and verifiable.
Read the [specification file](./spec.md) for details.
## Development
You need the latest DFINITY Canister SDK to be able to build and deploy a token canister:
```
sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)"
```Navigate to a the sub directory and start a local development network:
```
cd motoko
dfx start --background
```Create canister:
```
dfx canister create --all
```Install code for the NFT canister:
```
dfx builddfx canister install nft --argument="(\"\", \"\", \"\", )"
e.g.:
dfx canister install token --argument="(\"Test NFT\", \"TEST\", \"Test NFT collection\", principal \"4qehi-lqyo6-afz4c-hwqwo-lubfi-4evgk-5vrn5-rldx2-lheha-xs7a4-gae\")"
```## Contributing
Contributions are welcome, open an issue or make a PR.