| Crates.io | payjoin |
| lib.rs | payjoin |
| version | 0.24.0 |
| created_at | 2022-12-28 20:53:01.058387+00 |
| updated_at | 2025-07-01 00:21:26.946056+00 |
| description | Payjoin Library implementing BIP 78 and BIP 77 batching protocols. |
| homepage | |
| repository | https://github.com/payjoin/rust-payjoin |
| max_upload_size | |
| id | 746981 |
| size | 562,815 |
payjoinThe Payjoin Dev Kit payjoin library implements both BIP 78 Payjoin V1 and BIP 77 Payjoin V2.
payjoin-cliThe payjoin-cli crate performs no-frills Payjoin as a reference implementation using Bitcoin Core wallet.
payjoin-directoryThe payjoin-directory crate implements the Payjoin Directory store-and-forward server required for Payjoin V2's asynchronous operation.
payjoin-test-utilsThe payjoin-test-utils crate provides commonly used testing fixtures such as a local OHTTP relay and payjoin directory, bitcoind node and wallets, and official test vectors.
payjoin-ffiThe payjoin-ffi crate provides language bindings that expose the Rust-based Payjoin implementation to various programming languages.
Use at your own risk. This crate has not yet been reviewed by independent Rust and Bitcoin security professionals.
While I don't think there is a huge risk running it, be careful relying on its security for now!
Seeking review of the code that verifies there is no overpayment. Contributions are welcome!
unsafe code or well-tested/analyzed/proven/... unsafe codeThe payjoin library and payjoin-cli should always compile with any combination of features on Rust 1.63.0.
To build and test with the MSRV you will need to pin the below dependency versions:
payjoincargo update -p cc --precise 1.0.105
cargo update -p regex --precise 1.9.6
cargo update -p reqwest --precise 0.12.4
cargo update -p url --precise 2.5.0
cargo update -p tokio --precise 1.38.1
cargo update -p tokio-util --precise 0.7.11
cargo update -p which --precise 4.4.0
cargo update -p zstd-sys --precise 2.0.8+zstd.1.5.5
payjoin-clicargo update -p cc --precise 1.0.105
cargo update -p clap_lex --precise 0.3.0
cargo update -p regex --precise 1.9.6
cargo update -p reqwest --precise 0.12.4
cargo update -p time@0.3.36 --precise 0.3.20
cargo update -p tokio --precise 1.38.1
cargo update -p tokio-util --precise 0.7.11
cargo update -p url --precise 2.5.0
cargo update -p which --precise 4.4.0
cargo update -p zstd-sys --precise 2.0.8+zstd.1.5.5
See CONTRIBUTING.md
MIT