NFT Formatting
Last updated
Last updated
Each NFT is uniquely identified by its TokenID and Edition.
The TokenID is a record
Edition is a scalar
The TokenId is purposely left very generic as to accommodate any 32 bytes to uniquely identify the item.
The TokenID when combined with the BaseURI forms the information necessary for Front End UIs (like the ) to find the off-chain data associated with the NFT.
Currently only https
urls are supported by the wallet.
When you Initialize the collection, set the BaseURI to the root url path of your collection. For the Privacy Pride Testnet3 Collection it is: aleo-public.s3.us-west-2.amazonaws.com/testnet3/
When you Add NFT, add the relative path from your BaseURI as the url: privacy-pride/1.json
This will enable the Front-End as well as the to find the json associated with your NFT at https://
+ BaseURI + TokenID
You can find the code used to
Although you are welcome to use whatever JSON structure you want for your own application, to work with the existing codebase and Leo Wallet. You should implement the following properties at a minimum: