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

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.

主站蜘蛛池模板: 邹平县| 水城县| 波密县| 台北市| 漳浦县| 孝昌县| 博爱县| 凤凰县| 古田县| 黄山市| 镇坪县| 密山市| 平凉市| 淳安县| 茶陵县| 孝昌县| 中宁县| 高州市| 商河县| 合阳县| 潞西市| 仪征市| 高要市| 六盘水市| 郴州市| 深州市| 黄龙县| 金华市| 台山市| 宁强县| 台北市| 冷水江市| 平遥县| 炉霍县| 元江| 安图县| 田阳县| 当雄县| 龙陵县| 九龙坡区| 阳江市|