Skip to content

aptos 的资源账户是做什么用的。 #224

Answered by Demian101
v1xingyue asked this question in Q&A
Discussion options

You must be logged in to vote

Resource Accounts 资源账户

https://aptos.dev/guides/resource-accounts/

A resource account is used to manage resources independent of an account managed by a user.
资源帐户用于管理独立于用户管理的帐户的资源。

Hector: "对于发行资源比如 NFT 和代币的情况下,将合约直接发布在用户地址上是极其不安全的,谁知道项目方会不会通过普通用户地址进行修改和操作某些东西。资源账户类似于专有的管理账户,只能初始化一次,后续无法改动"

In Aptos a resource account is created based upon the sha3 256 of the source's address and additional seed data.A resource account can only be created once, this is designated by setting theAccount::signer_capability_offer::for to the address of the resource account.
在 Aptos 中,基于源地址的 sha3 256 和附加 seed 数据创建资源帐户。资源帐户只能创建一次,这通过将Account::signer_capability_offer::for 设置为资源帐户。

While an entity may callcrea…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by leeduckgo
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants