rust-payjoin
rust-payjoin copied to clipboard
Payjoin Dev Kit scales Bitcoin, saves fees, and preserves privacy with one tiny library
The official BIP78 test vector checks the happy path where both the sender and receiver act honestly. To catch and prevent [bugs](https://github.com/payjoin/rust-payjoin/pull/338) that may result in loss of funds, we...
Fixes #643
Switching to `IntoUrl` makes the function more ergonomic by allowing a broader range of URL-like inputs. This also simplifies bindings, as strings can be passed directly without extra conversion.
When building a multiparty proposal we did not have a catch to make sure that the proposals were all unique and as such a multiparty could be built by just...
WASM bindings need to be able to pass in current time, WASM context doesn't have access to system level IO
Add MIT License to rust-payjoin
Adding tests for each `ensure!` for the sender checks. Will partially address #339 - I'll follow up with another PR for the receiver side
Add unit tests for the new_p2wpkh and new_p2tr constructors within the `receive` module (payjoin/src/receive/mod.rs). These tests verify that the constructors correctly initialize the InputPair struct, ensuring both the `TxIn` and...
> We should almost definitely be wrapping bitcoin_uri::de::Error> in a payjoin type. _Originally posted by @DanGould in https://github.com/LtbLightning/payjoin-ffi/pull/71#discussion_r2033982267_
Add PayjoinUriError to provide better error handling for URI parsing. Update UriExt trait to use this new type instead of Box. Closes [#644](https://github.com/payjoin/rust-payjoin/issues/644)