Bytom 移动端钱包SDK FAQ
haranN
post on 2022-12-3 14:20:29
32
0
0
1、客户端钱包SDK需要实现哪些功能?
创建密钥、密钥列表、创建账户、账户列表、创建地址、地址列表、备份钱包、恢复钱包、重置密码、交易签名
2、客户端钱包SDK是否需要联网?
不需要联网
3、创建钱包地址的流程怎样的?
创建密钥 -> 创建账户 -> 创建地址
用密钥创建账户,然后在账户下创建地址,一个账户可能由多个密钥创建,即多签账户,一个账户下也可以有多个地址
4、发起一笔交易客户端钱包需要做什么?
全节点钱包发起一笔交易的顺序是build-transaction->sign-transaction->submit-transaction
客户端钱包发起一笔交易的build-transaction、submit-transaction依赖于中心化的节点,需要把一笔交易的发起人地址、接收人地址、资产类型、交易资产数量通过中心化节点build-transaction的API发送给中心化节点,对中心化节点build-transaction返回的结果签名,即执行sign-transaction,然后通过中心化节点submit-transaction的API提交交易上链
5、用其他语言实现bytom钱包的思路是怎么样的?
没有go语言经验的话,建议先学习一下go语言的基本语法
然后可以从bind.go入手开始理解bytom钱包的实现,然后再用其他语言实现bytom钱包
BitMere.com is Information release platform,just provides information storage space services.
The opinions expressed are solely those of the author,Does not constitute advice, please treat with caution.
The opinions expressed are solely those of the author,Does not constitute advice, please treat with caution.
Write the first review