投资区块链,就用火星财经APP!

社区生态 | 关于TRONSCAN和SUNSCAN说明文档-Part 1

波场TRON·热度: 2507
目前,TRONSCAN团队已开发完成支持SUN Network的区块浏览器SUNSCAN,进入测试阶段。


SUN Network计划是为繁荣波场主网生态而生的扩容计划, 包含智能合约应用侧链(DAppChain), 跨链通讯等一些列扩容项目。其中DAppChain为波场智能合约相关的侧链扩容项目。着重以可定制化方式,实现DApp以极低Energy消耗、高安全、高效率地上链运行,为波场主网提供无限扩容的能力, 为后续日益增长的交易数量提供支持。

目前,TRONSCAN团队已开发完成支持SUN Network的区块浏览器SUNSCAN,进入测试阶段,上线后 TRONSCAN 将支持一键切换至 SUN Network 网络。

为了让用户更好的了解基于TRON主网的浏览器TRONSCAN和基于SUN Network的浏览器SUNSCAN的异同,方便用户灵活使用两个浏览器,TRONSCAN特别制作了这篇说明文档,先来了解下面几个概念:

a)映射


TRX和TRC10通证,系统会自动从主链映射到侧链,用户可以直接质押/解压;TRC20通证需要发币人手动映射(只有资产合约(发币合约)才需要做映射,非发币合约不用做映射;支持资产的转移,不支持业务逻辑的转移);但是非token类型的合约,如随机数合约、分红合约等需要开发者手动映射。
a) MappingTRX and TRC10 tokens: the system will map them from the main chain to the side chain automatically, and users can deposit and withdraw directly;TRC20 tokens: token issuers have to map manually. (Only asset contracts (token issuance contract) require mapping. Non-token-issuance contracts do not require mapping. Assets can be transferred while business logic cannot.);Non-token contracts: contracts such as random number contracts and dividend contracts require developers to map manually.

b)关于在侧链发行资产由于SUN Network也是一条链,故底层是支持开发者直接在侧链上发行合约,发行token的,但是由于这样没有意义,所以在使用中,TRONSCAN不支持用户在侧链上发币,部署合约。


b) Issue assets on the side chainSince the Sun Network is also a chain, the underlying layer is able to support developers to directly issue contracts and tokens on the side chain. In practice, however, TRONSCAN does not support token issuance or contract deployment on the side chain because these operations do not make practical sense.
c)主侧链账户的关系同一个账户在主链与侧链的地址和私钥是一样的,共享一套存储空间,不共享资产;主链的账户在侧链可以直接登录;侧链创建的账户可以在主链直接登录(但是要两边分别激活);主侧链切换之后,需要重新登录。
c) Relationship between the main chain and side chain accountsThe same account uses the same address and private key on both the main chain and the side chain. They share the storage space but not the assets;Main chain accounts can log on to the side chain straight away;Accounts created on the side chain can log on to the main chain directly (but activation is required separately for each chain);Login is required each time the main/side chain switch happens.
d)通证映射

TRC20通证通证发行者可以映射到Sun Network,映射的同时会把该合约也映射到Sun Network上,但是地址与主网的地址不同。

TRC10通证系统自动映射:id与主链相同
d) Token mappingTRC20 tokens:Token issuers can map the tokens to the Sun Network, and the corresponding contract will be mapped to the network at the same time. However, the address will be different from that on the MainNet.TRC10 tokens:Automatic mapping by the system: the ID remains the same with that on the main chain.

e)通证质押与解押

质押(Deposit)质押的方向是把通证从主链映射到侧链,TRX和TRC10通证默认都可以质押,TRC20通证需要发币人映射后用户才能质押。

解押(Withdraw)解押的方向是把通证从侧链提取到主链。
e) Token deposit and withdrawDepositTo deposit, tokens are mapped from the main chain to the side chain. By default, both TRX and TRC10 tokens can be deposited, and TRC20 tokens can only be deposited after mapped by the token issuers.WithdrawTo withdraw, tokens are taken from the side chain to the main chain.

了解更多:

官网: https://tronscan.org/微博: https://www.weibo.com/tronscan电报群: https://t.me/tronscan_org推特: https://twitter.com/TRONSCAN_ORGMedium:https://medium.com/@TRONSCAN_ORG

声明:本文为入驻“火星号”作者作品,不代表火星财经官方立场。转载请注明出处、作者和本文链接
提示:投资有风险,入市须谨慎。本资讯不作为投资理财建议。
语音技术由科大讯飞提供
最近更新
本文来源:
原文标题:
涨跌幅
排名名称价格(USD)涨幅
您可能感兴趣的内容
暂无内容

评论0