ckb-nft-toolkit
A toolkit who provides methods to create, transfer, update and destroy issuer cells, class cells and NFT cells of Nervos CKB.
The NFT smart contract implement of RFC: Multi-purpose NFT Draft Spec is ready for Testnet and Mainnet.
Quick Start
Rename .env.example
to .env
and update the env variables
yarn install
Update the example, select the function you want.
- example/issuer.ts: Create, update and destroy the issuer cell
- example/class.ts: Create, update and destroy the class cell
- Update the class cell data with the code
- example/nft.ts: Create, update, transfer and destroy the NFT cell
yarn start:issuer
yarn start:class
yarn start:nft