We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Starcoin 的每个账户都有一个 key_rotation_capability 字段, 并且提供了 Account::extract_key_rotation_capability 方法可以把用户的 KeyRotationCapability 拿出来, 同时也提供了 Account::rotate_authentication_key_with_capability, 可以通过 KeyRotationCapability 重置该 Capbility 原始拥有者的 authentication_key。
key_rotation_capability
Account::extract_key_rotation_capability
KeyRotationCapability
Account::rotate_authentication_key_with_capability
authentication_key
设计一个应用场景,使用 KeyRotationCapability, 比如通过智能合约帮助用户重置 authentication_key。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Starcoin 的每个账户都有一个
key_rotation_capability
字段,并且提供了
Account::extract_key_rotation_capability
方法可以把用户的KeyRotationCapability
拿出来,同时也提供了
Account::rotate_authentication_key_with_capability
, 可以通过KeyRotationCapability
重置该 Capbility 原始拥有者的authentication_key
。设计一个应用场景,使用 KeyRotationCapability, 比如通过智能合约帮助用户重置 authentication_key。
The text was updated successfully, but these errors were encountered: