Categories
Cryptocurrency Ethereum Mastering Development

How to make my contract balance as private in Ethereum?

Suppose there are two contracts, A and B. Obviously, balance of A is public and B can read it with address_of_A.balance. Is there a way to make balance of A as a private data and B can’t read it with the mentioned command?

Leave a Reply

Your email address will not be published. Required fields are marked *