Skip to content
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.

Latest commit

 

History

History
33 lines (21 loc) · 1.04 KB

README.md

File metadata and controls

33 lines (21 loc) · 1.04 KB

zkchan-tx

Overview

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.

Dependencies

We rely on the following dependencies:

  • libsecp256k1
  • serde
  • wagyu

Usage

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;

License

MIT License