Skip to content
View twzrd-sol's full-sized avatar

Block or report twzrd-sol

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
twzrd-sol/README.md

TWZRD

Buyer-side defense for agents that pay over x402. Everything here runs before your agent's signer: it checks the price, the recipient and the seller, and it keeps retries from signing past your budget. A refusal costs nothing, because the signer never runs.

Install

Package What it does Install
twzrd-x402-gate createBuyerFetch: per-call price cap, recipient allowlist, free seller preflight, and a durable cross-process spend ledger in which a signed payment stays counted until it settles, so seller retries cannot sign past your hourly budget. Base and Solana USDC. npm i twzrd-x402-gate@0.28.1
agentcash-seatbelt Zero-dependency fetch preload for AgentCash and other x402/MPP clients: blocks cross-rail duplicate payments, enforces spend caps, verifies Outbid-Receipt. npm i agentcash-seatbelt@0.3.0
@twzrd1111/mandate Signed spend mandates, plus a loopback sidecar that enforces them (MCP proxy, HTTP proxy, control API). npm i @twzrd1111/mandate@0.1.1
outbid-receipt-verify Offline check that a paid HTTP answer is what the money bought (Outbid-Receipt v1: request, payment and response bytes). npm i outbid-receipt-verify@0.1.0
twzrd-mcp-server / twzrd-mcp MCP tools for seller checks before an agent pays. npm i twzrd-mcp-server@0.6.7 · pip install twzrd-mcp==0.2.5

Three lines in front of your signer

import { createBuyerFetch } from "twzrd-x402-gate";
const pay = createBuyerFetch({ client, maxPricePerCall: "0.01", allowedRecipients: [SELLER_PAYTO] });
const res = await pay(url); // over the cap or wrong payTo: BuyerFetchBlockedError, signer never runs

Live services

  • intel.twzrd.xyz: free, read-only seller preflight (allow | warn | block) before an agent pays an x402 service.
  • outbid.sh: OpenAI-compatible inference. A paid call is about $0.001 (1000 atomic USDC). Settled Base-paid calls carry an Outbid-Receipt v1 signed with the keys at /.well-known/outbid-receipt-keys.json.

Source

Buyer-side duplicate-settlement measurements on Base mainnet: x402#4367.

Most repositories on this profile are forks kept for upstream work. The repos listed above are the ones we maintain.

Pinned Loading

  1. twzrd-trust twzrd-trust Public

    Buyer-side defense for x402 agents: price cap, recipient pin and a durable spend ledger before the signer (twzrd-x402-gate), signed spend mandates (@twzrd1111/mandate), MCP server, receipt verifiers.

    TypeScript 1

  2. twzrd-receipt-verifier twzrd-receipt-verifier Public

    Offline verifier for TWZRD receipts: AO-Receipt V7 (earlier V5/V6 still verify) and genesis cNFT receipts. npm + PyPI.

    JavaScript

  3. outbid-receipt outbid-receipt Public

    Outbid-Receipt v1: seller-signed delivery receipts for x402-paid HTTP answers. Spec, reference verifier, test vectors.

    JavaScript