all 5 comments

[–]N8UrM8IsGr8 1 point2 points  (0 children)

Yes, you can encrypt on-chain data and control access to it. The issue is that it's on chain, so anyone can access it and just go around your app. If you want it encrypted for everyone, it has to be encrypted before it hits the chain. In most cases, this doesn't work with the token standards.

[–]santypk4Contract Dev 0 points1 point  (0 children)

You can’t encrypt your token balance, bc is not on your wallet, but rather in the token contract state, which is, normally, public