nebulasio / wiki

This repository is out of date, please check the new wiki:
http://wiki.nebulas.io/en/latest/
GNU General Public License v3.0
421 stars 154 forks source link

合约存储的信息是公开的吗? #135

Open qazujmko opened 6 years ago

qazujmko commented 6 years ago

在solidity中,不论访问权限是否为私有,实际上都能访问到 LocalContractStorage.defineMapProperty LocalContractStorage.defineProperty 星云链是否也有这个问题?如果不想公开,应该如何操作?

ChengOrangeJu commented 6 years ago

I think a possible solution can be found in https://github.com/nebulasio/wiki/blob/master/permission_control_in_smart_contract.md

qazujmko commented 6 years ago

我不是问合约的访问权限,我是问能不能通过其他方式(比如运行一个全节点,再通过命令行的方式访问到)。因为我想存一个只有合约自己能够看见的密钥

weiht12 commented 5 years ago

你好,此版本为星云旧版wiki(后期逐步停止维护),欢迎将您的问题提交星云新版wiki,以便于获得及时解答。同时,参与wiki的编辑维护工作还会有奖励哦。新版wiki链接:https://wiki.nebulas.io/en/latest/ (英文);https://wiki.nebulas.io/zh_CN/latest/ (中文) Hello, this version is the nebulas old wiki (later stop maintenance), welcome to submit your question to the new nebulas wiki, in order to get timely answers. At the same time, there will be rewards for editing and maintaining the wiki. New wiki link: https://wiki.nebulas.io/en/latest/ (English); https://wiki.nebulas.io/zh_CN/latest/ (Chinese)