小编Nah*_*ahu的帖子

在 Substrate 中 AccountId32 和 AccountId 之间的转换

我有一个要求,我需要传入一些字节,我需要在 Substrate 2.0 中从中创建一个 accountId。

有没有办法在运行时(FRAME)之间AccountId32<T as frame_system::Trait>::AccountId中进行转换?或者创建一个<T as frame_system::Trait>::AccountIdfrom 字节的实例?

谢谢

parity blockchain substrate polkadot

1
推荐指数
1
解决办法
626
查看次数

标签 统计

blockchain ×1

parity ×1

polkadot ×1

substrate ×1