current position:Home>On the visibility of code and data of smart contract

On the visibility of code and data of smart contract

2022-02-04 00:12:44 Q & A of Denglian community

It is known that , The function calling the smart contract needs to know the address and address of the smart contract ABI, let me put it another way , If I don't know the contract address and contract ABI, You don't know the contract code and contract internal data , Is that right ?

But many articles say , The code of the smart contract is publicly visible , So the code implemented with smart contract is safe and trustworthy , for example , Many articles say , If you use smart contract to realize identity authentication , It can ensure the credibility of authentication , Because the authentication code and process are publicly visible , This publicly visible means that you don't know the address and ABI Under the circumstances , By analyzing the underlying source code of all synchronization nodes, can you see all the code and data of the smart contract ? Or what I understand , Because the identity authentication smart contract is the code designed after the identity authentication participants reach a consensus , Therefore, all identity authentication participants should know the address and of the contract ABI, The execution process of the contract is synchronized with all participants of identity authentication , therefore , For synchronous nodes , Through known contract address and contract ABI You can know the whole execution process of the contract , So as to ensure the security and credibility of authentication , Rather than say , I don't know the address and ABI Under the circumstances , By analyzing the underlying source code of all synchronization nodes, you can see all the code and data of the smart contract ? In other words, without knowing the contract address and contract ABI The contract code and contract data cannot be known , Even if you analyze the source code, you can't know the contract code and contract data ?






Other answers 1:


Other answers 2:


Other answers 3:

copyright notice
author[Q & A of Denglian community],Please bring the original link to reprint, thank you.
https://en.netfreeman.com/2022/02/202202040012419907.html

Random recommended