├── .github └── workflows │ ├── build-image.yml │ └── rust.yml ├── .gitignore ├── Cargo.lock ├── Cargo.toml ├── DEVELOPER.md ├── Dockerfile ├── LICENSE ├── README.md ├── docs ├── mpc.md ├── mpc_and_taproot.md ├── serialization.md └── zkapp.md ├── examples ├── circuit │ ├── Makefile │ ├── circom_lib │ │ ├── poseidon.circom │ │ └── poseidon_constants.circom │ ├── circuit.circom │ ├── proof.json │ ├── proof_inputs.json │ ├── public_inputs.json │ ├── srs.ptau │ ├── stateful.circom │ ├── stateless.circom │ └── vk.json └── committee │ ├── committee-cfg.json │ ├── key-0.json │ ├── key-1.json │ ├── key-2.json │ └── publickey-package.json ├── rust-toolchain.toml ├── src ├── alice_sign_tx.rs ├── bin │ ├── zkbtc-admin.rs │ └── zkbtc.rs ├── bob_request.rs ├── capped_hashmap.rs ├── committee │ ├── mod.rs │ ├── node.rs │ └── orchestrator.rs ├── compliance.rs ├── constants.rs ├── frost.rs ├── json_rpc_stuff.rs ├── lib.rs ├── mpc_sign_tx.rs ├── plonk.rs ├── snarkjs.rs └── utils │ ├── mod.rs │ └── version.rs ├── whitepaper.pdf └── zkBIPs └── zkBIP-001.md /.github/workflows/build-image.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/.github/workflows/build-image.yml -------------------------------------------------------------------------------- /.github/workflows/rust.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/.github/workflows/rust.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/.gitignore -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/Cargo.toml -------------------------------------------------------------------------------- /DEVELOPER.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/DEVELOPER.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/README.md -------------------------------------------------------------------------------- /docs/mpc.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/docs/mpc.md -------------------------------------------------------------------------------- /docs/mpc_and_taproot.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/docs/mpc_and_taproot.md -------------------------------------------------------------------------------- /docs/serialization.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/docs/serialization.md -------------------------------------------------------------------------------- /docs/zkapp.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/docs/zkapp.md -------------------------------------------------------------------------------- /examples/circuit/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/examples/circuit/Makefile -------------------------------------------------------------------------------- /examples/circuit/circom_lib/poseidon.circom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/examples/circuit/circom_lib/poseidon.circom -------------------------------------------------------------------------------- /examples/circuit/circom_lib/poseidon_constants.circom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/examples/circuit/circom_lib/poseidon_constants.circom -------------------------------------------------------------------------------- /examples/circuit/circuit.circom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/examples/circuit/circuit.circom -------------------------------------------------------------------------------- /examples/circuit/proof.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/examples/circuit/proof.json -------------------------------------------------------------------------------- /examples/circuit/proof_inputs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/examples/circuit/proof_inputs.json -------------------------------------------------------------------------------- /examples/circuit/public_inputs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/examples/circuit/public_inputs.json -------------------------------------------------------------------------------- /examples/circuit/srs.ptau: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/examples/circuit/srs.ptau -------------------------------------------------------------------------------- /examples/circuit/stateful.circom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/examples/circuit/stateful.circom -------------------------------------------------------------------------------- /examples/circuit/stateless.circom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/examples/circuit/stateless.circom -------------------------------------------------------------------------------- /examples/circuit/vk.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/examples/circuit/vk.json -------------------------------------------------------------------------------- /examples/committee/committee-cfg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/examples/committee/committee-cfg.json -------------------------------------------------------------------------------- /examples/committee/key-0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/examples/committee/key-0.json -------------------------------------------------------------------------------- /examples/committee/key-1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/examples/committee/key-1.json -------------------------------------------------------------------------------- /examples/committee/key-2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/examples/committee/key-2.json -------------------------------------------------------------------------------- /examples/committee/publickey-package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/examples/committee/publickey-package.json -------------------------------------------------------------------------------- /rust-toolchain.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/rust-toolchain.toml -------------------------------------------------------------------------------- /src/alice_sign_tx.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/src/alice_sign_tx.rs -------------------------------------------------------------------------------- /src/bin/zkbtc-admin.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/src/bin/zkbtc-admin.rs -------------------------------------------------------------------------------- /src/bin/zkbtc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/src/bin/zkbtc.rs -------------------------------------------------------------------------------- /src/bob_request.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/src/bob_request.rs -------------------------------------------------------------------------------- /src/capped_hashmap.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/src/capped_hashmap.rs -------------------------------------------------------------------------------- /src/committee/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/src/committee/mod.rs -------------------------------------------------------------------------------- /src/committee/node.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/src/committee/node.rs -------------------------------------------------------------------------------- /src/committee/orchestrator.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/src/committee/orchestrator.rs -------------------------------------------------------------------------------- /src/compliance.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/src/compliance.rs -------------------------------------------------------------------------------- /src/constants.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/src/constants.rs -------------------------------------------------------------------------------- /src/frost.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/src/frost.rs -------------------------------------------------------------------------------- /src/json_rpc_stuff.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/src/json_rpc_stuff.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/mpc_sign_tx.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/src/mpc_sign_tx.rs -------------------------------------------------------------------------------- /src/plonk.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/src/plonk.rs -------------------------------------------------------------------------------- /src/snarkjs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/src/snarkjs.rs -------------------------------------------------------------------------------- /src/utils/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod version; 2 | -------------------------------------------------------------------------------- /src/utils/version.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/src/utils/version.rs -------------------------------------------------------------------------------- /whitepaper.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/whitepaper.pdf -------------------------------------------------------------------------------- /zkBIPs/zkBIP-001.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharmsDev/zkbitcoin/HEAD/zkBIPs/zkBIP-001.md --------------------------------------------------------------------------------