Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 3.74 KB

writing-nft.md

File metadata and controls

43 lines (30 loc) · 3.74 KB
description
Based on Metadata best practice

Writing NFT Spec

Background

The Writing NFT introduced by Liker Land is designed especially for a single piece of article or post. The idea is similar to the traditional book publishing flow as an analogy, but the solution, however, tackles some specific issues for a single piece of writing.

Read more about Writing NFT here

NFT Class metadata

Each writing NFT class represent a creative work registered on an ISCN. To allow easier search and collection of all Writing NFTs created by a same creator, nft_meta_collection fields would be used. A dynamic API is used as uri to provide dynamic metadata according to mint purchase status.

key value description
name Writing NFT - {ISCN name} Name of ISCN prefix with Writing NFT
symbol WRITING WRITING is used as symbol
uri https://api.like.co/likernft/metadata?iscn\_id={iscn\_id} Dynamic API from api.like.co, query by ISCN ID
metadata
metadata.nft_meta_collection_id likerland_writing_nft ID of the Writing NFT meta collection
metadata.nft_meta_collection_name Writing NFT Name of Writing NFT meta collection
metadata.nft_meta_collection_descrption Writing NFT by Liker Land Description of Writing NFT

NFT Instance metadata

In Writing NFT, every instance of NFT in a same class should be homogeneous. A randomized ID is used to prevent user from distinguishing the minting order. A dynamic API is also used as image to provide dynamic image according to mint purchase status.

key value description
id writing-{uuid} Randomized uuid v4 prefixed with writing
uri https://api.like.co/likernft/metadata?class\_id={class\_id}\&nft\_id={id} Dynamic API from api.like.co, query by class id and nft id
metadata
metadata.name Writing NFT - {ISCN name} ID of the Writing NFT meta collection
metadata.image https://api.like.co/likernft//image/class\_${classId}.png Name of Writing NFT meta collection

Registering via api.like.co

To allow the display of Writing NFT on LikeCoin button/NFT widget and related api.like.co APIs, users should call the like.co NFT API to register their NFT after minting.

Please view api.like.co documentation for details