- Rust engine: real bootstrap/wiring preflight (guardrail-agent), execution layer (retry/router/pre-trade/post-trade/reconciliation), guardrail-doctor diagnostics with allowlist-drift guard. - guardrail-cli: extracted pure helpers into util.rs (split in progress). - 6 Track-2 skills + ensemble; python-lab analytics (regime/drawdown/montecarlo/dossier/ensemble/journal/seed); clients (ts/py/go/mcp/langchain/web-lite/proof-verifier); alert relay; scenarios; helm/k8s/compose; docs. - dashboard/vercel.json + docs/VERCEL_DEPLOY.md for Vercel deployment. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
37 lines
772 B
Python
37 lines
772 B
Python
"""x402 / EIP-3009 payment signing layer.
|
|
|
|
Public API::
|
|
|
|
from bnbagent.x402 import (
|
|
X402Signer,
|
|
SessionBudgetTracker,
|
|
X402SignerError,
|
|
X402RecipientMismatchError,
|
|
X402AmountExceededError,
|
|
X402BudgetExhaustedError,
|
|
X402PolicyError,
|
|
)
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
from .budget import SessionBudgetTracker
|
|
from .errors import (
|
|
X402AmountExceededError,
|
|
X402BudgetExhaustedError,
|
|
X402PolicyError,
|
|
X402RecipientMismatchError,
|
|
X402SignerError,
|
|
)
|
|
from .signer import X402Signer
|
|
|
|
__all__ = [
|
|
"X402Signer",
|
|
"SessionBudgetTracker",
|
|
"X402SignerError",
|
|
"X402RecipientMismatchError",
|
|
"X402AmountExceededError",
|
|
"X402BudgetExhaustedError",
|
|
"X402PolicyError",
|
|
]
|