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
Answered
Can I use IPFS for hosting TON NFT images?

What protocols are supported by the "image" field in the NFT metadata? Can I use ipfs://, or is it limited to http:// and https:// ?


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

  
  
Posted one year ago
Votes Newest

Answers


According to TEP #64 (Token Data Standard):

NFT metadata attributes

...
4. image - Optional. ASCII string. A URI pointing to a resource with mime type image.
...

Uniform Resource Identifier (URI) are not bound to the http protocol and you can use any protocol.

Be aware that while you can use any protocol you want, anything that will fetch your 'image' attribute from your NFT metadata will have to know how to deal with this protocol.

Keep in mind that I've written this answer by searching information and not testing.

1
1
wiki
Posted one year ago
18K Views
1 Answer
one year ago
one year ago
Tags