I would like to know if there is a way on tezos to hide data in the metadata of an nft so that only the owner of the NFT can see it. or to make information visible only to the owner. Do you know if it is possible to code smart contracts with this functionality?

  • HI, welcome to the tezos stackexchange. Can you please edit your question and provide more information, and maybe some examples, its not clear what you are trying to accomplish
    – Simon McLoughlin
    Nov 30, 2022 at 15:25

1 Answer 1


I can only assume that you maybe mean something like lockt.

With the Lockt tool, you can do this by first visiting lockt.io and syncing your Web3 wallet. Then specify the contract address and token ID(s) of the NFTs that you wish to add unlockable content to; give a name and description to the content to be added, and finally upload the files. Once this is done, you can share the unlockable content web link. Anyone who owns the corresponding NFTs can sync their Web3 wallet upon visiting the link, and access their content.

Source: https://spotlight.tezos.com/lockt-io-a-tool-for-adding-unlockable-content-to-tezos-nfts/

So with lockt you can lock the content of the NFT for the public - making it "private"

  • thank you, it's a very interesting application. I modified my post to be more precise, I would like to know if it is possible to do this directly in a smart contract
    – mesgasure
    Dec 1, 2022 at 14:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.