1. 引言
Aleo系列,前序博客有:
- 欢迎关注Aleo
- 使用Zexe构建Aleo隐私应用——How Zero Knowledge is Rebalancing the Scales of the Internet
- Aleo系列博客——透明的代价
- Aleo系列博客——零知识密码学技术的未来
- Aleo 提供的zero knowledge primitives
- Aleo的PoSW共识
Wagyu为Aleo团队基于Rust语言开发的cryptocurrency钱包,代码见:
Wagyu提供了丰富的命令行工具来生成cryptocurrency钱包。
Wagyu提供了如下模块,基于这些模块,开发者可构建自己的cryptocurrency 应用:
Library | Standard Wallet | HD Wallet | Mnemonic | Network |
---|---|---|---|---|
wagyu-bitcoin |
|
|
|
|
wagyu-ethereum |
|
|
|
|
wagyu-monero |
|
|
|
|
wagyu-zcash |
|
|
|
|
如需支持新的currency,仅需实现wagyu_model
即可:
Library | Standard Wallet | HD Wallet | Mnemonic | Network |
---|---|---|---|---|
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。