前言
Keystone钱包由Lixin Liu创立,前身是Cobo Vault,Lixin Liu于2021年6月1日离开Cobo继续Keystone
内容 | 源码库 |
---|---|
keystone | KeystoneHQ (github.com) (base-code is incomplete) |
Cobo Vault | Cobo Vault (github.com) |
安装/基础
01 keystone-sdk-web-demo
其中遇到问题: $ GENERATE_SOURCEMAP=false react-app-rewired start
'GENERATE_SOURCEMAP' 不是内部或外部命令,也不是可运行
或批处理文件。
‘react-app-rewired‘ 不是内部或外部命令,也不是可运行的程序或批处理文件。_燕京拾亿的博客-CSDN博客
运行失败,直接看代码把;
是一个简单的demo文件,可以看作example;
最为核心的库使用:
"@keystonehq/animated-qr": "^0.8.3", // 二维码的generation+scan的相互作用
"@keystonehq/keystone-sdk": "^0.2.0", // KeystoneSDK.parseHDKey
// keystoneSDK.arweave.generateSignRequest —— keystoneSDK.arweave.parseAccount
02 keystone-airgaped-base
打开package文件,里面多是xxx-keyring(各语言密钥管理工具库)
以及,ur-decoder,ur-registry-cardano的ur二维码格式注册
03 ur-registry
这是ur的库,通过使用库的内容来解析data,在usage samples中使用:
This repository is an implementation of the BC-UR Registry specification
Currently support:
crypto-output, crypto-eckey, crypto-hdkey, crypto-keypath, crypto-coin-info, crypto-psbt, crypto-account
04 keystone-crypto-coin-message-protocol
更新于两年前,主要是用于protobuf在app和硬件端的信息传输
Keystone message protocol between Keystone App and Keystone hardware wallet