官术网_书友最值得收藏!

User accounts in DApps

Many applications need user accounts' functionality. Data associated with an account should be modifiable by the account owner only. DApps simply cannot have the same username- and password-based account functionality as do centralized applications because passwords cannot prove that the data change for an account has been requested by the owner.

There are quite a few ways to implement user accounts in DApps. But the most popular way is using a public-private key pair to represent an account. The hash of the public key is the unique identifier of the account. To make a change to the account's data, the user needs to sign the change using his/her private key. We need to assume that users will store their private keys safely. If users lose their private keys, then they lose access to their account forever.

主站蜘蛛池模板: 修水县| 蒙阴县| 怀柔区| 巨野县| 瓦房店市| 赤壁市| 孟州市| 长岛县| 杭锦后旗| 大安市| 康马县| 砚山县| 贵港市| 汝州市| 瑞昌市| 清河县| 虹口区| 油尖旺区| 中超| 嵊泗县| 和顺县| 景谷| 望城县| 兰州市| 崇信县| 三门峡市| 自治县| 贵德县| 齐河县| 博乐市| 华容县| 喀喇| 丰县| 西峡县| 景宁| 平凉市| 尼玛县| 嘉峪关市| 东乌珠穆沁旗| 南丰县| 从化市|