Conflux-Chain / conflux-documentation

Documentation for Conflux Network. Alternative mirror https://confluxdocs.com
https://doc.confluxnetwork.org/
25 stars 26 forks source link

Add a tutorial to introduce how to cross-space CRC20 Token from coreSpace to eSpace #509

Open jackleeio opened 6 months ago

jackleeio commented 6 months ago

Describe the feature or improvement 描述新特性或改进

The official cross-space bridge does not support some CRC20 Tokens to cross space to espace, but this can actually be achieved through the official open source contract. Here we can add a tutorial to tell developers how to implement it, and we can also use FansCoin as an example.

Optional: Affected page(s) or section(s) 受影响的页面

https://www.confluxdocs.com/docs/category/tutorials

Optional: Why is this feature or improvement important? 为什么需要这个新特性或改进?

Make the conflux infrastructure more open, enable cross-space without permission, and make the cross-space experience better

Optional: Implementation ideas 如何实现

No response

Optional: Additional context 其他上下文信息

No response

Contribution Confirmation

darwintree commented 6 months ago

As for ERC20 token bridging, it is not that complex. Simply input the contract address in the confluxhub will be ok https://confluxhub.io/espace-bridge/cross-space image

Current issue is of little meaning and 2 optional relating topic will be better:

  1. Simply adding the tutorial telling how to bridging core erc20 token to espace
  2. A complete example showing how CrossSpaceCall contract works

I think the second one is very close to your original intention. Simply changing the focus of the article will work

jackleeio commented 6 months ago

A complete example showing how CrossSpaceCall contract works

OK, I will try to add a second related topic in the docs/category/tutorials directory. Please let me know if the location is inappropriate.

darwintree commented 6 months ago

A complete example showing how CrossSpaceCall contract works

OK, I will try to add a second related topic in the docs/category/tutorials directory. Please let me know if the location is inappropriate.

Currently I would suggest core/build folder

jackleeio commented 4 months ago

As for ERC20 token bridging, it is not that complex. Simply input the contract address in the confluxhub will be ok https://confluxhub.io/espace-bridge/cross-space image

Current issue is of little meaning and 2 optional relating topic will be better:

  1. Simply adding the tutorial telling how to bridging core erc20 token to espace
  2. A complete example showing how CrossSpaceCall contract works

I think the second one is very close to your original intention. Simply changing the focus of the article will work

I ignored some situations before. confluxhub currently does not support all erc20 tokens cross-space to eSpace. Initially, it did not even support FC, the community implemented some methods to allow it to support FC cross-space to eSpace.

Screenshot 2024-05-11 at 16 44 11

My initial idea was to write a tutorial on how to cross-space erc20 token to espace (including those methods used by the community and allowing confluxhub to support specific erc20 token to cross space). Regarding your suggested topic 1, we can include it in this tutorial. Regarding topic 2, we can write another article to introduce it.

darwintree commented 4 months ago

As for ERC20 token bridging, it is not that complex. Simply input the contract address in the confluxhub will be ok https://confluxhub.io/espace-bridge/cross-space image Current issue is of little meaning and 2 optional relating topic will be better:

  1. Simply adding the tutorial telling how to bridging core erc20 token to espace
  2. A complete example showing how CrossSpaceCall contract works

I think the second one is very close to your original intention. Simply changing the focus of the article will work

I ignored some situations before. confluxhub currently does not support all erc20 tokens cross-space to eSpace. Initially, it did not even support FC, the community implemented some methods to allow it to support FC cross-space to eSpace.

Screenshot 2024-05-11 at 16 44 11

My initial idea was to write a tutorial on how to cross-space erc20 token to espace (including those methods used by the community and allowing confluxhub to support specific erc20 token to cross space). Regarding your suggested topic 1, we can include it in this tutorial. Regarding topic 2, we can write another article to introduce it.

I think it's ok