Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: about 2 months ago
JSON representation

Non-fungible token standard for the DFINITY Internet Computer

Awesome Lists containing this project

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 build

dfx 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.