Skip to content

payjoin/rust-payjoin

Repository files navigation

Rust-Payjoin

Supercharged payment batching to save fees and preserve privacy

Crates Crates CI Status Rustc Version 1.85.0+ Chat on Discord

About

payjoin/rust-payjoin contains multiple crates implementing Payjoin as defined in BIP 77: Async Payjoin and BIP 78: Simple Payjoin, and associated OHTTP Relay and Payjoin Directory infrastructure.

Find the description of each crate below.

The main Payjoin Dev Kit library which provides tools for implementing both Async and Simple Payjoin. payjoin implements Payjoin session persistence support and IO utilities for interacting with OHTTP relays in Async Payjoin integrations.

Disclaimer: This crate has not been reviewed by independent Rust and Bitcoin security professionals (yet). Use at your own risk.

A CLI tool which performs no-frills Payjoin. It is a reference implementation of the Payjoin Dev Kit which uses a Bitcoin Core wallet.

A Rust implementation of an Oblivious HTTP (OHTTP) relay resource.

Disclaimer: Both this crate and the IETF paper are undergoing active revision. Use at your own risk.

A reference implementation for a Payjoin Directory which stores and forwards HTTP client messages between the sender and the receiver to allow for Async Payjoin transactions. Async Payjoin clients make requests to the directory using Oblivious HTTP (OHTTP) which prevents the directory from being able to link payjoins to specific client IP addresses.

The test utilities library which provides commonly used testing fixtures such as a local OHTTP relay and Payjoin directory, bitcoind node and wallets, and official test vectors.

The language bindings which expose the Rust-based Payjoin implementation to various programming languages.

Currently supported languages:

  • Dart
  • Javascript
  • Python

Minimum Supported Rust Version (MSRV)

All crates in this repository should always compile with any combination of features on Rust 1.85.0.

Contributing

See CONTRIBUTING.md.

License

MIT

About

Supercharged payment batching to save you fees and preserve your privacy

Topics

Resources

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 36