libzkchannels
zkChannels: Anonymous Payment Channels for Bitcoin, Zcash, Tezos and more
File Explorer
Download Latest Version (.zip)- customer_establish.sh
- customer_pay.sh
- merchant_establish.sh
- merchant_pay.sh
- README.md
- setup.sh
- download_emp_ag2pc.sh
- fix_rpath_osx.sh
- Makefile
- download_emp_ot.sh
- Makefile
- download_emp_sh2pc.sh
- fix_rpath_osx.sh
- libcrypto++-dev_5.6.1-9ubuntu0.1_amd64.deb
- libcrypto++9v5_5.6.1-9ubuntu0.1_amd64.deb
- Makefile
- download_emp_tool.sh
- fix_rpath_osx.sh
- integer.patch
- Makefile
- uint.cpp
- uint.patch
- uinteger.h
- uinteger.hpp
- download_time.sh
- Makefile
- download_update_state.sh
- fix_rpath_osx.sh
- Makefile
- install_packages.sh
- Makefile
- zkchannels_zkproofs.rs
- bindings.h
- ccs08.rs
- channels_mpc.rs
- channels_util.rs
- channels_zk.rs
- cl.rs
- cli_mpc.rs
- cli_zk.rs
- database.rs
- ecdsa_partial.rs
- ffishim_bls12.rs
- ffishim_mpc.rs
- lib.rs
- mpc.rs
- mpc_helpers.rs
- mpcwrapper.rs
- nizk.rs
- ped92.rs
- test_e2e.rs
- test_mpc.rs
- tze_utils.rs
- util.rs
- wallet.rs
- zkproofs.rs
- cust_close.sh
- customer_establish.sh
- customer_pay.sh
- merch_close.sh
- merchant_establish.sh
- merchant_pay.sh
- README.md
- closingflow.jpg
- fundingflow.png
- gas_cost_benchmarks.md
- tutorial_pt1_setup.md
- tutorial_pt2_zkchannels.ipynb
- tutorial_pt2_zkchannels.md
- zkchannels_contract.md
- AtomicSwap.py
- Bls12_381_Tests.py
- Escrow.py
- PaymentChannel.py
- SignatureReferenceExample.py
- SmartPy_Scripts.md
- PsSigVerify.py
- collatz_even.tz
- collatz_main.tz
- collatz_odd.tz
- test_collatz.py
- external_contract.tz
- main_contract.tz
- simple_inter_contract_smart.py
- test_simple_inter_contract.py
- format_commands.py
- run_test.sh
- sample_cust_close.json
- test_zkchannel.py
- zkchannel_contract.tz
- zkchannel_smartpy_script.py
- README.md
- mock_pssig3.tz
- notification_service.py
- passive_watchtower.py
- passive_zkchannel_watchtower.py
- README.md
- simple_broadcaster.py
- simple_watchtower.py
- zkchannel_broadcaster.py
- zkchannel_mock_ps3.tz
- cust_close.json
- merch_close.json
- passive_zkchannel_watchtower.py
- README.md
- tz1S6eSPZVQzHyPF2bRKhSKZhDZZSikB3e51.json
- tz1VcYZwxQoyxfjhpNiRkdCUe5rzs53LMev6.json
- zkchannel_contract.tz
- zkchannel_edo2net_broadcaster.py
- test_pssigs_verify.py
- test_pssigs_verify_fixed.py
- dec_cust_close.json
- pssigs_verify.py
- pssigs_verify_m2.py
- pssigs_verify_optimized.py
- pyproject.toml
- README.md
- test_pairings.py
- zkchannels-cli-alias.sh
- change_to_P2WPKH.py
- cust_claim.py
- cust_close.py
- cust_close_from_escrow.py
- cust_close_from_merch_close.py
- digest_parser.py
- funding_tx_with_change.py
- merch_claim.py
- merch_close.py
- merch_dispute.py
- tx_parser.py
- zkChannel_regtest_cust-close.ipynb
- zkChannel_regtest_merch-close_to_cust_close_to_merch_dispute.ipynb
- zkChannel_regtest_merch-close_to_merch-claim.ipynb
- combine_merch-close_and_fee.py
- cust_closev2.py
- funding_tx_with_changev2.py
- merch_close_anyonecanpay.py
- p2nsh_to_p2wpkh.py
- P2WPKH_to_P2WPKH.py
- P2WPKH_to_P2WPKH_sighash_all_anyonecanpay.py
- tx_parser.py
- zkChannel_cust-close.ipynb
- zkChannel_merch_close_v2_anyonecanpay.ipynb
- zkChannel_regtest_merch-close_to_cust_close_to_merch_dispute.ipynb
- calculate_output_values.py
- cust_close_with_cpfp.py
- dual_funding_tx_with_changev2.py
- funding_tx_with_changev2.py
- merch_close_child_tx.py
- merch_close_with_cpfp.py
- p2nsh_to_p2wpkh.py
- zkChannel_cust-close_from_merch-close_with_cpfp.ipynb
- zkChannel_cust-close_with_CPFP.ipynb
- zkChannel_dual_funding.ipynb
- zkChannel_merch_close_with_CPFP.ipynb
- btcd_test_escrow.ipynb
- .DS_Store
- btcd_tx_tester.py
- make_n_utxo.py
- make_utxo.py
- README.md
- clean.sh
- install_bitcoind.sh
- install_golang.sh
- requirements.txt
- run_gowrapper.sh
- test_scenarios_bitcoind.py
- test_scenarios_btcd.py
- tx_utils.py
- .gitignore
- .travis.yml
- blog-header-light-14.png
- build.rs
- build.sh
- build_docker_image.sh
- Cargo.lock
- Cargo.toml
- cbindgen.toml
- Dockerfile
- env
- libzkchannels-mpc-arch.png
- libzkchannels.go
- libzkchannels_test.go
- LICENSE
- Makefile
- README.md
- setup_redis.sh
- test_channels_mpc.sh
- test_database.sh
- test_gowrapper.sh
- test_ignored.sh
- test_mpcwrapper.sh
# Installation Guide
git clone https://github.com/boltlabs-inc/libzkchannels
Downloads the entire project code from GitHub to your computer.
cd libzkchannels
Moves into the project folder you just downloaded.
2. Official Install Script
Easy Recommendedcurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Downloads and runs the official install script in one line β this handles the full setup automatically.
Pulled directly from this repo's README.
3. Docker
Easy- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker build -t libzkchannels .
Builds a runnable image based on the Dockerfile.
docker run -p 8080:80 libzkchannels
Runs the built image as an actual container.
4. Python
Easypip install -r tx/requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
jupyter notebook
Launches Jupyter in your browser so you can open and run the notebook (.ipynb) files.
5. Rust
Medium- Git Needed to download the project code from GitHub.
- Rust (rustup) Installing via rustup also installs cargo.
cargo clean
Type this command into your terminal and run it.
cargo build --release
Compiles the Rust project.
Pulled directly from this repo's README.
6. Make
Medium- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
make deps
Compiles the code based on the generated build configuration to produce an executable.
make mpctest
Compiles the code based on the generated build configuration to produce an executable.
Pulled directly from this repo's README.
