NFT Portal Reference
NFT Portal technical reference
Last updated
NFT Portal technical reference
The documentation is designed for Liker Land and LikeCoin v2. For information on 3ook.com and LikeCoin v3, please visit docs.3ook.com and dao.like.co.
Allows inputting https URL or ISCN ID to prepare minting of Writing NFT

Testnet: https://app.testnet.like.co/nft/url
Production: https://app.like.co/nft/url
url
(optional) Prefill target URL
iscn_id
(optional) Prefill target ISCN ID
liker_id
(optional) Enforce Liker ID checking on user, an error would be prompted if target Liker ID is not used
Other query strings are passed below to the ISCN page.
Mints an ISCN into Writing NFT

Testnet: https://app.testnet.like.co/nft/iscn/${uri_encoded_iscn_id}/
Production: https://app.like.co/nft/iscn/${uri_encoded_iscn_id}/
nft_prefix
(optional) Override NFT name prefix, default is Writing NFT
class_id
(optional) Existing NFT Class ID to resume minting process from
redirect_uri
(optional) Act as a whitelist host for postMessage, actual redirect is not implemented, please use with opener below
opener
(optional) default false. If set, would fire a postMessage back to window.opener with redirect_uri host as target, then close current window
Last updated
window.opener.postMessage(JSON.stringify({
action: 'NFT_MINT_DATA',
data: {
iscnId,
classId,
nftCount,
sellerWallet,
},
}), this.redirectOrigin)