PlatON正式启用全新账户地址格式 您的账户会产生哪些改变?

扫码链接5000+新基建产业链上下游从业者,入群请备注“机智地+姓名+公司+岗位

在PlatON新贝莱世界测试网0.13.0版本即将上线之际,为更好地适配主网上线工作并为用户提供更直观的产品体验,PlatON将正式启用全新账户地址格式!由hex+EIP55规范转为带固定前缀的bech32地址编码规范。


PlatON正式启用全新账户地址格式 您的账户会产生哪些改变?
为什么采用bech32地址编码?
  

PlatON底层使用byte的形式存储地址,当地址需要显示给用户时,当前的规则是将地址转成16进制字符串,然后采用EIP55的标准对所得字符串中的部分字母转大写,得到最终地址字符串,例如:

0x7cB0f5D66D07472A835C97e288931BE2518f7b21

这种字符串虽然可以通过计算机校验(是否符合EIP55规范),但对用户来说辨识度不高。

在对各主流公链的地址生成进行充分调研后,我们决定采用bech32的方式对内部地址编解码成字符串来对外显示,长度与原编码方式长度保持一致,均为42,hrp(human readable part)为lat(主网)和lax(其他网络)。

例如:lax10jc0t4ndqarj4q6ujl3g3ycmufgc77epxg02lt

注:

· 主网前缀为lat,其他网络前缀为lax


· bech32是基于base32的一种编码方式,可以快速交易生成的地址并且生成的地址具有辨识度。

base32官方文档说明 :


https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki

全新账户地址 “超级符号”诞生  

此次更新账户地址格式,除了由hex+EIP55规范转为带固定前缀的bech32地址编码规范之外,最大、最直观的变化莫过于加入了前缀“lat”(测试网为“lax”)。PlatON作为隐私计算网络与金融基础设施,LAT是底层金融基础设施重要的流通凭证,也是PlatON经济机制模型中的核心支撑。此次“lat”前缀的加入,增加了PlatON品牌的辨识度,全面提升了用户认知,并将“lat”升级为超级符号,覆盖全球用户。

升级后的全新账户地址格式如下:

锁仓

原地址:


x1000000000000000000000000000000000000001

新地址:

主网:


lat1zqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqp7pn3ep

测试网:


lax1zqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqp3yp7hw

Staking

原地址:


0x1000000000000000000000000000000000000002

新地址:

主网: 


lat1zqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqzsjx8h7

测试网:


lax1zqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqzlh5ge3

奖励

原地址:


0x1000000000000000000000000000000000000003

新地址:

主网: 


lat1zqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqrdyjj2v

测试网: 


lax1zqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqrzpqayr

处罚

原地址:


0x1000000000000000000000000000000000000004

新地址:

主网: 


lat1zqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqyva9ztf

测试网:


lax1zqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqyrchd9x 

治理

原地址:


0x1000000000000000000000000000000000000005

新地址

主网: 


lat1zqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq93t3hkm

测试网:


lax1zqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq97wrcc5

委托奖励

原地址:


0x1000000000000000000000000000000000000006

新地址:

主网:


lat1zqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqxlcypcy

测试网:


lax1zqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqxsakwkt


声明: 本文由入驻基智地平台的作者撰写,观点仅代表作者本人,不代表基智地立场;基智地发布此信息的目的在于传播更多信息,与本站立场无关。

发表评论

邮箱地址不会被公开。 必填项已用*标注