payjoin-test-utils

Crates.iopayjoin-test-utils
lib.rspayjoin-test-utils
version
sourcesrc
created_at2025-04-14 18:25:01.653744+00
updated_at2025-04-14 18:25:01.653744+00
descriptionPayjoin test utilities
homepage
repositoryhttps://github.com/payjoin/rust-payjoin
max_upload_size
id1633143
Cargo.toml error:TOML parse error at line 19, column 1 | 19 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Dan Gould (DanGould)

documentation

README

payjoin-test-utils

A collection of testing utilities for Payjoin protocol implementations.

Overview

The payjoin-test-utils crate provides commonly used testing fixtures for Payjoin development and testing, including:

  • Local OHTTP relay and Payjoin directory services
  • Bitcoin Core node and wallet management
  • Official test vectors
  • HTTP client configuration for testing
  • Tracing setup for debugging

Features

  • Test Services: Easily spin up and manage OHTTP relay and Payjoin Directory test services required for Payjoin testing
  • Bitcoin Core Integration: Initialize and configure Bitcoin nodes for testing
  • Wallet Management: Create and fund wallets for sender and receiver testing
  • OHTTP Relay: Set up local OHTTP relay services
  • Directory Service: Configure Payjoin directory services
  • Test Vectors: Get access to official Payjoin test vectors

Usage

For examples of using the TestServices, switch to the appropriate payjoin-test-utils tag in rust-payjoin and view the e2e or integration tests there.

Minimum Supported Rust Version (MSRV)

This crate supports Rust 1.63.0 and above.

License

MIT

Commit count: 867

cargo fmt