NFT
NFTs represent proof of ownership of a digital or physical asset, on the blockchain. NFTs can represent digital assets such as images, videos, audio files, documents, or simply some data. NFTs can also act as proxies for physical assets such as real estate, consumer or industrial goods, or precious metals.
The media associated with NFTs, and other associated metadata, are stored off-chain in a decentralized storage network such as IPFS, but the link to this metadata is stored on-chain as part of the NFT.
Basic NFT features
Creating an NFT
Create NFT on the Ternoa chain.
View codeAdding an NFT to a collection
Add an NFT to an existing collection.
Soulbound NFT features
Creating a Soulbound NFT
Create a basic Soulbound NFT on-chain.
View codeSecret NFT features
Creating a Secret NFT
Create a Secret NFT on-chain.
View codeAdding a Secret to an NFT
Adds a Secret to an existing NFT on-chain.
Capsule NFT features
Creating a Capsule NFT
Create a Capsule NFT on-chain.
Converting an NFT to a Capsule
Convert an existing basic NFT into a Capsule NFT.
Setting the off-chain data of a Capsule NFT
Set the off-chain data of a Capsule NFT.
Notifying the enclaves to update the NFT keys
Notifies the enclaves that the capsule owner requests new keys.
Rental NFT features
Creating Contract
Create a rental contract on the chain for an NFT.
View codeRevoking Contract
Revoke a running contract.
Cancelling Contract
Cancel a contract that is not running.
Renting
Rent an nft with automatic acceptance.
Making Rent Offer
Make an offer for an available contract with manual acceptance.
Accepting Rent Offer
Accept a rent offer for a manual acceptance contract.
Retracting Rent Offer
Retract a rent offer provided to a manual acceptance contract.
Changing Subscription Terms
Change the subscription terms for a subscription contract.
Accepting Subscription Terms
Accept the subscription terms for a subscription contract.
NFT management features
Transfering an Nft
Send an NFT to someone.
View codeDelegating some NFT
Delegate an NFT to someone.
View codeBurning an existing NFT
Burn NFT from the chain.
View codeSetting the NFT royalty
Set the royalty of an NFT: A Percentage of all second sales that the creator will receive.
View code