The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
docs(x402): document module layout and reorganise ops.rs into submodules
Steven Enamakel180bc1b427d9
diff --git a/crates/openhuman-core/src/web3/x402/ops.rs b/crates/openhuman-core/src/web3/x402/ops.rsindex 6e9c0c285d..822d99fece 100644--- a/crates/openhuman-core/src/web3/x402/ops.rs+++ b/crates/openhuman-core/src/web3/x402/ops.rs@@ -10,6 +10,25 @@//! EVM `exact` scheme://! EIP-3009 `transferWithAuthorization` signed by the wallet's EVM key.//! The facilitator submits the signed authorization on-chain.+//!+//! ## Module layout+//!+//! - [`errors`] — the client's error type.+//! - [`headers`] — parsing the challenge / settlement headers.+//! - [`solana_payment`] — Solana `exact` scheme transaction construction.+//! - [`evm_payment`] — EVM EIP-3009 payment construction.+//! - [`client`] — the high-level client and the `handle_402*` entry points.++mod client;+mod errors;+mod evm_payment;+mod headers;+mod solana_payment;++pub use client::{handle_402, handle_402_and_pay, try_paid_request, X402Client, X402PaymentResult};+pub use errors::X402Error;++#[cfg(test)]+pub(crate) use evm_payment::build_evm_payment_with_signer;-include!("ops_part_01.rs");-include!("ops_part_02.rs");+const LOG_PREFIX: &str = "[x402]";