【通读EOS白皮书】账户-01

in #cn7 years ago

今年币圈链圈一个重大事件就是:EOS在6.1日正式发布,但是还有非常多的人从未阅读过EOS技术白皮书。在此我准备做一个通读EOS白皮书系列,主要是翻译官方原文并加入个人解释的形式展现,水平有限,欢迎大家讨论交流。
微信公众号:blockd-public
微信号:点击查看


账户

EOS.IO软件允许所有的账号通过一个由2-32位字符组成的具有唯一性且人类可读的名字来引用。名字由账号的创建者自己选择。所有账户必须在创建时注入最低账户余额,以抹平账号存储账号信息的成本。账户名称还支持命令空间,例如账户@domain的拥有者是唯一可以创建@user.domain账户的。

解释:EOS系统的账户名,是由2-32位字符组成,不能重复。如果是公司或者某种形式的组织还可以创建属于自己域名下的其他账户。

在去中心化的环境中,应用开发者要为注册新账户支付挂名费。传统公司为他们从广告或免费服务等形式中获取的每个客户都支付了大量金钱。相比较,创建一个新的区块链账户的成本就显得微不足道。而且幸运的是,不必为已经在其他应用注册的用户创建新的账户。

解释:同一个用户,在同一个区块链上的不同应用可以共用一个账户。就像一个以太坊账户可以接收多种token一样。创建用户所需要花费的钱不需要用户自己支付,但需要应用开发者支付。也就是所你要做EOS开发者,那么你需要EOS才能为新用户注册。

消息与处理

每个账户都可以向其他账户发送具有结构的消息,并且定义脚本去处理他们接收到的消息。EOS.IO 软件赋给每个账户一个私有数据库,这个只能让自己的消息处理程序访问。消息处理脚本还可以向其他账户发送消息。消息与消息自动处理程序的组合也就是EOS.IO定义的智能合约。

解释:EOS定义的智能合约简单说就是消息与消息处理程序的组合。


原文如下

Accounts

The EOS.IO software permits all accounts to be referenced by a unique human readable name of 2 to 32 characters in length. The name is chosen by the creator of the account. All accounts must be funded with the minimal account balance at the time they are created to cover the cost of storing account data. Account names also support namespaces such that the owner of account @domain is the only one who can create the account @user.domain.

In a decentralized context, application developers will pay the nominal cost of account creation to sign up a new user. Traditional businesses already spend significant sums of money per customer they acquire in the form of advertising, free services, etc. The cost of funding a new blockchain account should be insignificant in comparison. Fortunately, there is no need to create accounts for users already signed up by another application.

Messages & Handlers

Each account can send structured messages to other accounts and may define scripts to handle messages when they are received. The EOS.IO software gives each account its own private database which can only be accessed by its own message handlers. Message handling scripts can also send messages to other accounts. The combination of messages and automated message handlers is how EOS.IO defines smart contracts.

Sort:  

Hi! I am a robot. I just upvoted you! I found similar content that readers might be interested in:
https://steemit.com/eos/@eosio/eos-io-technical-white-paper