Aleo Wagyu钱包

1. 引言

Aleo系列,前序博客有:

Wagyu为Aleo团队基于Rust语言开发的cryptocurrency钱包,代码见:

Wagyu提供了丰富的命令行工具来生成cryptocurrency钱包。
Wagyu提供了如下模块,基于这些模块,开发者可构建自己的cryptocurrency 应用:

LibraryStandard WalletHD WalletMnemonicNetwork
wagyu-bitcoin
  • P2PKH
  • P2SH-P2WPKH
  • Bech32

  • BIP-32
  • BIP-44
  • BIP-49
  • Custom

  • BIP-39

  • Mainnet
  • Testnet
wagyu-ethereum
  • Standard

  • Ethereum
  • Ledger
  • Trezor
  • Keepkey
  • Custom

  • BIP-39

  • All
wagyu-monero
  • Standard
  • Integrated
  • Subaddress

  • N/A

  • Electrum

  • Mainnet
  • Testnet
  • Stagenet
wagyu-zcash
  • P2PKH
  • Sprout
  • Sapling

  • ZIP-32

  • N/A

  • Mainnet
  • Testnet

如需支持新的currency,仅需实现wagyu_model即可:

LibraryStandard WalletHD WalletMnemonicNetwork
wagyu_model



2. Wagyu的应用

BOLT的 zkchan-tx 作为BOLT zkChannels协议的transaction builder,采用 wagyu库,以支持Bitcoin、Zcash以及其他cryptocurrencies。

zkchan-tx 覆盖了zkChannels 的所有交易类型:

  • funding交易
  • escrow交易
  • closing交易
  • disputing the funds from a closed channel after the dispute period交易
  • claiming the funds from a closed channel after the dispute period交易

zkchan-tx 中使用的曲线为Secp256k1。

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值