Skip to content

Releases

x402 Trinity 0.1.1

Choose a tag to compare

@devmster devmster released this 25 Aug 09:23
npm install x402-trinity
pip install x402-trinity

Wording change to the startup notice. No behaviour change — the buyer, seller, MCP server and Python client all work exactly as in 0.1.0.

x402 Trinity 0.1.0

Choose a tag to compare

@devmster devmster released this 25 Aug 07:08

A drop-in fetch replacement that lets an AI agent pay for things by itself — hard spending limits, no hosted wallet, no changes to the agent's own code.

npm install x402-trinity

Base mainnet + USDC. Other EVM chains work through customChains.

What is in it

  • Buyer — handles 402, checks limits, signs, retries. Zero runtime dependencies, 7 KB gzipped.
  • Seller — charge for an existing resource in three lines. Never holds a key, never touches funds.
  • MCP server — three tools (check_price, pay_and_fetch, wallet_status) so an assistant can buy things. Limits come from the environment, never from the model.
  • Python — buyer only, standard library only.

Before you use it with real money

This software signs payment authorizations. Set maxAmountPerRequest and totalBudget, and use a dedicated wallet holding only what you would accept losing.