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
//! Host RPC facade for module-owned x402 payments.
//!
//! TinyWallet owns challenge parsing, chain selection, payment construction,
//! signing, budget reservation, ledger records, and settlement parsing. The
//! host retains generic HTTP execution, explicit user approval, and secret
//! custody; payment material crosses only the confidential module call.
#[cfg(feature = "web3")]
mod schemas;
#[cfg(feature = "web3")]
pub use schemas::all_controller_schemas as all_x402_controller_schemas;
#[cfg(feature = "web3")]
pub use schemas::all_registered_controllers as all_x402_registered_controllers;
#[cfg(feature = "web3")]
pub use tinywallet_bus::wire::{
X402PaymentRecord as PaymentRecord, X402PaymentStatus as PaymentStatus,
};
/// Kept as a compatibility no-op. The module-owned ledger opens lazily when
/// the first x402 service operation is requested, scoped to the active workspace.
pub fn init_ledger(_workspace_dir: &std::path::Path, _session_id: &str) {}
#[cfg(not(feature = "web3"))]
mod stub;
#[cfg(not(feature = "web3"))]
pub use stub::*;