Skip to content
New issue

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

Update assets.md #420

Closed
wants to merge 1 commit into from
Closed

Conversation

wuzhong-papermoon
Copy link
Contributor

Copy link
Contributor

@eshaben eshaben left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice job! Just some quick fixes on this one!

Comment on lines +279 to +280
!!! 请记住
以下代码片段仅用于演示目的。请勿将您的私钥存储在JavaScript或Python文件中。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
!!! 请记住
以下代码片段仅用于演示目的。请勿将您的私钥存储在JavaScript或Python文件中。
!!! 请记住
以下代码片段仅用于演示目的。请勿将您的私钥存储在JavaScript或Python文件中。

## 在其他链上注册Moonbeam资产 {: #register-moonbeam-assets-on-another-chain }

为了实现Moonbeam资产(包括Moonbeam原生资产,GLMR、MOVR、DEV,和部署在Moonbeam上的本地XC-20资产,也就是支持XCM的ERC-20资产)在Moonbeam和另一条链之间进行跨链转移,您需要将资产注册到另一条链上。由于每个链存储跨链资产的方式不同,因此在另一个链上注册Moonbeam资产的具体步骤会根据链的不同而有所不同。至少,您需要了解Moonbeam上资产的元数据和multilocation。

除了资产注册之外,还需要采取其他步骤来实现与Moonbeam的跨链集成。有关更多信息,请参阅[与Moonbeam建立XC集成](/builders/interoperability/xcm/xc-registration/xc-integration){target=\_blank}教程。


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

@@ -142,7 +142,7 @@ The UnitsPerSecond needs to be set 34106412005
- `--revert-code`或`--revert` - (可选) - 在EVM中注册资产预编译的恢复代码。如果已提供代码,脚本将为治理提案创建一个批量交易,该交易至少将注册资产并设置恢复代码。

!!! 注意事项
**对于Moonbeam上的提案来说,此标志并非必需的**,因为它包含[OpenGov](/learn/features/governance#opengov) General Admin Origin无法执行的`system.setStorage`调用。稍后可以通过调用[预编译注册表预编译](/builders/pallets-precompiles/precompiles/registry){target=\_blank}来设置虚拟EVM字节码,您无需担心需通过治理设置恢复代码!
**对于Moonbeam上的提案来说,此标志并非必需的**,因为它包含[OpenGov](/learn/features/governance#opengov) General Admin Origin无法执行的`system.setStorage`调用。稍后可以通过调用[预编译注册表预编译](/builders/pallets-precompiles/precompiles/registry){target=\_blank}来设置虚拟EVM字节码,您无需担心需通过治理设置恢复代码!请参考 [设置XC-20 预编译字节码](#set-bytecode)部分,了解如何设置占位字节码。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
**对于Moonbeam上的提案来说,此标志并非必需的**,因为它包含[OpenGov](/learn/features/governance#opengov) General Admin Origin无法执行的`system.setStorage`调用。稍后可以通过调用[预编译注册表预编译](/builders/pallets-precompiles/precompiles/registry){target=\_blank}来设置虚拟EVM字节码,您无需担心需通过治理设置恢复代码!请参考 [设置XC-20 预编译字节码](#set-bytecode)部分,了解如何设置占位字节码。
**对于Moonbeam上的提案来说,此标志并非必需的**,因为它包含[OpenGov](/learn/features/governance#opengov){target=\_blank} General Admin Origin无法执行的`system.setStorage`调用。稍后可以通过调用[预编译注册表预编译](/builders/pallets-precompiles/precompiles/registry){target=\_blank}来设置虚拟EVM字节码,您无需担心需通过治理设置恢复代码!请参考 [设置XC-20 预编译字节码](#set-bytecode)部分,了解如何设置占位字节码。

the target=_blank is missing on the english site, but should be there so I added it here

@eshaben eshaben closed this May 10, 2024
@eshaben eshaben deleted the Translate-808-XC20-Bytecode branch May 10, 2024 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants