Using the wagyu library, this project provides a transaction builder for the zkChannels protocol to support Bitcoin, Zcash and other cryptocurrencies. The transactions cover all aspects of zkChannels which includes constructing the funding/escrow and closing transactions. In addition, transactions for disputing and claiming the funds from a closed channel after the dispute period.
We rely on the following dependencies:
- libsecp256k1
- serde
- wagyu
To use zkchan-tx
library, add the zkchan-tx
crate to your dependency file in Cargo.toml
as follows:
[dependencies]
zkchan-tx = { git = "https://github.com/boltlabs-inc/zkchan-tx" }
Then add an extern declaration at the root of your crate as follows:
extern crate zkchan_tx;
MIT License