隐性帐户与原始帐户之间有什么区别?
2 个回答
- 投票数
-
- 2019-02-15
隐式帐户是从公用/专用密钥对创建的帐户.它们以tz {1,2,3}开头.它们始终是可支出的,但不可转让.它们可以用于烘烤.它们是通过将xtz转移到区块链上而创建的.它们不能包含代码.他们的迈克尔逊类型是"单位合同".
原始合同是由原始操作从另一个合同创建的.他们从KT1开始.它们可以包含代码(智能合约),也可以不包含.它们可能是可支配的还是不可支配的.他们不能烤.他们有一个经理(隐性帐户),可以创建或花销或委托他们.经理可以是合同以外的其他合同.
Implicit accounts are accounts created from a public/private key pair. They start with tz{1,2,3}. They are always spendable, but not delegatable. They can be used for baking. They are created on the blockchain by transferring xtz to them. They cannot contain code. Their Michelson type is « unit contract ».
Originated contracts are created by the Originate operation, from another contract. They start with KT1. They can contain code (smart contracts) or not. They can be spendable or not, delegatable or not. They cannot bake. They have a manager (implicit account), who can spend or delegate them, if created so. The manager can be another contract than the source.
-
那么原始帐户没有私钥对吗?如果这些帐户没有私钥,该如何恢复这些帐户?发起操作是确定的吗?So originated account has no private key right ? How can you recover an originated account if those accounts have no private key ? Is the origination operation deterministic ?
- 0
- 2019-02-19
- zgo
-
我会随时回答我的问题以纠正我.因此,您没有私钥,但是拥有原始帐户的经理,并且只有经理帐户具有转移原始帐户资金的权力.您不必仅恢复经理帐户(通常是隐式帐户,因此您需要私钥,但也可以是另一个源帐户)的原始帐户.I will answer my question feel free to correct me. So you don't have a private key but a manager for an originated account and only the manager account has the power of moving fund of an originated account. You don't have to recover a originated account only the manager account (which is often an implicit account so you need the private key but can also be another originated account)
- 0
- 2019-02-19
- zgo
-
值得一提的是,现在有了新的巴比伦(原型005),您就可以从隐式帐户中进行委派.Worth mentioning that now with the new Babylon (proto 005) you're able to delegate from implicit accounts.
- 0
- 2019-11-14
- Rocco Musolino
-
- 2019-02-14
隐含帐户
- 它们是唯一可以参与烘焙过程的帐户.
- 它们以tz1 .....开头,并且要进行烘焙,必须将它们注册为委托.
- 他们可以代表自己烘烤,也可以代表委托给他们的原始帐户烘烤.
原始帐户
- 它们是唯一可以将tz委派给其他隐式帐户的帐户.
- 他们以KT1开头...
- 创建它们主要是为了进行委派.
- 与诸如Manager之类的隐式帐户相比,它们存储的信息更多:它们要委派给的帐户,可委托的:布尔值,是否可以在将来更改委托等.
简而言之,如果您想成为面包师,请保留一个隐性帐户;或者,如果您想要将tz委托给其他面包师,则只需持有并转让tz,然后创建一个原始帐户.
Implicit accounts
- They are the only account that can take part in baking process.
- They start with tz1..... and in order to bake, they must be registered as delegate.
- They can bake on behalf of themselves or on behalf of originated account who delegated to them.
Originated accounts
- They are the only account which can delegate tz to other implicit accounts.
- They starts with KT1......
- They are mainly created just for the purpose of doing the delegation.
- They store more information than implicit account like Manager: the account to which they are delegating, delegatable: a boolean value whether you can change the delegate in future etc.
In short, keep an implicit account if you want to become baker or just hold and transfer the tz and create an originated account if you want to delegate your tz to other bakers.
-
感谢您的明确答复!还有其他可能的椭圆曲线(tz2,tz3,KT2,KT3),因此值得一提.同样值得一提的是,答案适用于当前协议版本(proto 003).谢谢!Thanks for the clear answer! There are also other elliptic curves possible (tz2, tz3, KT2, KT3) so worth mentionning. Also worth mentionning the answer applies to the current protocol version (proto 003). Thanks!
- 0
- 2019-02-14
- Ezy
有人可以在这里解释tezos中的隐式帐户和原始帐户有什么区别吗?