Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
How to tell apart a NFT smart contract from another ones?

As far as I understand, NFTs in TON are just smart contracts that implement a specific interface. Suppose I create a wallet, an explorer or some other product that needs to understand if some specific smart contract is an NFT or not. How do I make it understand?

This question was imported from Telegram Chat: https://t.me/tondev/129268

Posted 11 months ago
Votes Newest


The short answer is through Interface.

But also you can take reference in TEP62(NFT Standard) https://github.com/ton-blockchain/TEPs/blob/master/text/0062-nft-standard.md

And also check my Tact code https://github.com/howardpen9/nft-template-in-tact

Posted 11 months ago
Edited 11 months ago
1 Answer
11 months ago
11 months ago