Release date: July 2, 2026
The 1.0.0 release is a ground-up rewrite to a TypeScript-only pnpm/turbo monorepo. The previous-generation Python + TypeScript SDK moves to legacy/ for reference. core and the EVM mechanism are forks of the x402-foundation/x402 upstream; the TRON mechanism is in-house. Supported schemes: exact (ERC-3009 / Permit2), upto, batch-settlement, auth-capture (EVM), and exact_gasfree (TRON).
- Monorepo restructure: TypeScript-only SDK published as granular
@bankofai/x402-*packages (core,evm,tron,fetch,express,mcp,extensions). The Python SDK and old TS SDK live underlegacy/. - BSC USDT support: express server
exactexample now advertises BSC testnet USDT (0x337610d2…, 18 dec, permit2) alongside DHLU and USDC. Mainnet USDT is registered in the default-asset registry (eip155:56, permit2). - Token symbol resolution: fetch client
TOKEN_ADDRESSESnow indexes by chain family so the same symbol (e.g.USDT) resolves to the correct contract per network (BSC testnet vs TRON Nile). - TRON settle receipt accuracy: facilitator transaction polling switched from
trx.getTransaction(fullNode preconfirm, which could transiently readREVERTon mainnet and cause false settle failures) to the fullNodegettransactioninfobyidendpoint, waiting forblockNumber+receipt.result. ~3-6s latency with authoritative results — mirrors tronpy'sget_transaction_info. - Documentation: README aligned with the TypeScript-only SDK;
.env-exact.exampleupdated to list USDT among EVM token options.
- BSC testnet USDT
exactpayment end-to-end: settle tx0x477f00845964271d53cc36028756fa4ce260674ff6b103e6a86a47f2e79a9edd(SUCCESS). - TRON mainnet USDT
exactpayment on-chain success confirmed (tx604f51c8…0acc,contractRet: SUCCESS); receipt polling fix verified against this tx.
- npm packages:
@bankofai/x402-core@1.0.0,@bankofai/x402-evm@1.0.0,@bankofai/x402-tron@1.0.0,@bankofai/x402-fetch@1.0.0,@bankofai/x402-express@1.0.0,@bankofai/x402-mcp@1.0.0,@bankofai/x402-extensions@1.0.0.
- TypeScript-only; Node.js >= 20, pnpm >= 11.
- The Python SDK is no longer published from
main; it remains underlegacy/for reference.
Release date: June 24, 2026
- Python TRON facilitator signer: restored wallet CLI /
agent-wallettransaction signing for contract writes while keeping active permission support throughTRON_PERMISSION_ID(default2). exact_permitsettlement: facilitator settlement no longer requiresTRON_FACILITATOR_PRIVATE_KEY/TRON_PRIVATE_KEYwhen the active wallet is already available through wallet CLI.- Version alignment: Python package metadata, runtime
bankofai.x402.__version__, and TypeScript package metadata are aligned to0.6.1.
- Python signer regression tests passed for TRON facilitator contract writes and existing client signer wallet payload behavior.
Release date: May 13, 2026
This release completes the 0.6.0 TypeScript parity work against the Python SDK. TypeScript now has the facilitator client, facilitator engine, server middleware, fetch wrapper, signer-injected facilitator mechanisms, and verify/settle support for exact, exact_permit, and exact_gasfree.
- Facilitator client (TS): remote facilitator calls for
/supported,/fee/quote,/verify, and/settle. - Facilitator engine (TS): mechanism routing by
(network, scheme)with normalized settlement responses. - Server middleware (TS): Hono and Express adapters backed by a shared framework-neutral request processor.
- Fetch wrapper (TS): full HTTP verb support, injectable
fetch, policy selection, andX-PAYMENT-RESPONSEparsing. - Facilitator signers (TS):
FacilitatorSigner,EvmFacilitatorSigner, andTronFacilitatorSignerverify typed data, write contracts, check balances, and poll receipts. exactfacilitator (TS): verifies ERC-3009/TIP-712 transfer authorizations and settles withtransferWithAuthorization.exact_permitfacilitator (TS): verifiesPaymentPermitsignatures and settles withPaymentPermit.permitTransferFrom.exact_gasfreefacilitator (TS): verifies GasFree TIP-712 permits, submits through the GasFree API proxy, and returns the resulting TRON transaction hash.- Public exports: facilitator client, engine, middleware, fetch wrapper, signer APIs, protocol constants, and updated mechanism constructors are exported from the TypeScript SDK.
- Python release alignment: Python package metadata is aligned to
0.6.0.
- TypeScript build passed.
- TypeScript test suite passed: 19 files / 158 tests.
- npm release tarball inspected before final release prep:
ExactGasFreeFacilitatorMechanism(signer, options)andExactEvmFacilitatorMechanism(signer, options?)are present in the declarations. - x402-demo TypeScript smoke passed against the 0.6.0 release candidate.
- TRON Nile on-chain smoke transactions:
exact_gasfree:97ec5443edaf4bbe8633ee8fc0dc923c4809df4f95625718d1f33e499cf2313dexact_permit:ae91d7e02fea6855f22ffcb945dbf280ff526f72ef156f997e22d4cc8c053e80
- npm package version prepared:
@bankofai/x402@0.6.0 - Python package version prepared:
bankofai-x402==0.6.0
- TypeScript facilitator mechanisms now require a facilitator signer instance.
- Hono and Express are optional peer deps. Apps that don't import the framework adapters do not need to install them.
- Minimum Node.js 20 (unchanged from 0.5.9). Python 3.11+.