Testnet by default
Wasit is built and tested for testnets: Stellar testnet, and for the x402 payment checks Base Sepolia, Ethereum Sepolia and Solana devnet, whose mainnets it does not pay on at all. Several checks settle real transactions, and one permanently closes a payment channel.
Every payment on a network that is not a test network is refused before a key
is read, with one exception: the mainnet opt-in (beta, below), which pays x402
on stellar:pubnet in USDC only. MPP never pays on mainnet.
The opt-in was validated on 2026-11-23 on a service of our own, with two dedicated accounts of the maintainer's: paid runs within the caps were read back from the chain and matched the run ledger; a payment above the cap, a run that could spend above the run cap, another payee, another asset and another network were each refused before anything was signed; and a service that settles what it should refuse failed the two checks that cover it, with both settlements named (the record, with each transaction). Those were minutes of runs on one service of ours, from the command line and the MCP server. Not run on mainnet: the Action's paid path, a service that is not ours, a window of days, and MPP. The destructive check is irreversible wherever it runs.
Nor can a target choose the network. The payment checks sign only for the
network the run names: X402-06 to X402-10 pay only an option on
--network, and MPP-01 refuses a challenge for any other network before
anything is signed, both on its unpaid read and on the request it pays. MPP-01
pays through the run's RPC endpoint, not the SDK's default for the network, and
pays once per run. Before 0.7.0, MPP-01 let the SDK sign for whichever
network the challenge named, through the SDK's default endpoint for it, so a
target asking for stellar:pubnet could have a mainnet transfer signed by the
payer key if that account holds mainnet funds (read from the SDK's source, not
run). Use a payer key that has never held mainnet funds. The advisory is
GHSA-wm3g-w88q-73xx.
In 0.7.0, MPP-01 paid on stellar:pubnet when the run named it, with no cap,
and a channel commitment was signed without checking the bytes the RPC returned
for it, so a run on the test network pointed at a mainnet RPC signed a
commitment valid on mainnet. Both are fixed from 0.8.0-beta.1 on:
every network but the test networks is refused before a key is read, and a
commitment is signed only when it names the run's channel, amount and network.
The advisory is
GHSA-7c36-rg54-r3v8.