Changelog

Follow the latest updates, improvements, and releases across Wasit Labs products.

Rendered from CHANGELOG.md in the repository.

0.8.0-beta.3

Beta
npm ↗GitHub ↗

This pre-release fixes what a fresh install of 0.8.0-beta.2 (and of 0.7.0) pulled in: core asked for @x402/*@^2.28.0, so npm resolved @x402/* 2.32.0, which the suites had never run on.

Results can change on upgrade.

  • X402-10 on Stellar signs the expired payment for 30 seconds (about five ledgers) instead of one second, and sends it once the chain's latest ledger is past the ledger it expires at, read from the signed payload. With one ledger, a ledger that closed while the x402 client built the payment ended its second simulation with HostError: Error(Auth, InvalidInput), and the check had no verdict (3 of 5 runs on @x402/stellar 2.32.0). The check now takes about 35 seconds on the test network, and has no verdict, with nothing sent, if the chain is not past the expiry within the lifetime and a minute. The signature stays valid for those 30 seconds; it is counted in the run's cap like every signature. EVM and Solana are unchanged.
  • The pull request comment's "Recent failures on main" also counts a check that could not run (ERROR) on main, worded "could not run in N of the last M runs on main"; it counted FAIL only, although the comment said failed runs on main are counted there.

Fixed.

  • Stellar: @stellar/stellar-sdk 17, which @x402/stellar 2.32.0 uses, simulates with address-bound credentials (SOROBAN_CREDENTIALS_ADDRESS_V2, CAP-71-02) by default. The signed-terms gate refused their preimage, so the x402 payment tier had no verdict and signed nothing. The gate now also signs that form, only when the address it binds is the payer's, with every check it made before; the credential sent must be the form that was signed, and a delegated credential is not sent. X402-07 and the X402-11 reading handle it too.
  • Solana: @x402/svm 2.29.0 and later need @solana/kit 8, and core declared ^5.5.1, so the Solana payment path failed to load on a fresh install. With kit 8 the payments are version 1 transactions, and the settlement read asked for version 0 at most, so the RPC refused it ("Transaction version (1) is not supported", issue #22). Both reads now ask for version 1.
  • Windows: a command that ended right after a network call (a paying wasit run, wasit init with its key setup, wasit wallet) printed its results and then aborted Node with a libuv assertion, exit code 0xC0000409 instead of its own (Windows 11, Node 24.14.1). On Windows the CLI now sets the exit code and lets the event loop finish. Linux and macOS are unchanged.
  • When the x402 client asks for a second signature in one payment, the refusal says the first one was signed and discarded, not "Nothing was signed".

Changed.

  • @x402/* are pinned to exactly 2.32.0 and @solana/kit to exactly 8.6.0: raising them is a change made and tested on purpose. @x402/core 2.28.0 depends on zod 3 (GHSA-mrhx-c7xc-m3w5, high); a clean install of the three packages now reports no advisory.
  • The CLI README says how to run Wasit in Windows PowerShell (npm.cmd, npx.cmd).

Run before this release. On the branch with the pins and the Stellar and Solana fixes (2026-11-30): every suite against the local fixtures with payments (run-all --full), x402 on Stellar testnet, Base Sepolia (exact and Permit2), Ethereum Sepolia and Solana devnet, MPP charge and MPP channel, all conformant, and the Stellar suite three more times, X402-10 passing each time. On the branch with the exit fix, on Windows 11 (2026-11-29): wasit run in the payment tier on the Stellar test network and wasit init ended with their own exit codes.

0.8.0-beta.2

Beta
npm ↗GitHub ↗

Results can change on upgrade.

  • The GitHub Action runs on pull_request, push, schedule, workflow_dispatch and merge_group only. Any other event (pull_request_target as before, now also issue_comment, workflow_run and the rest) stops the job with exit 2 in the step that checks the inputs: on those events a workflow can hand a pull request's code the base repository's token, and the service Wasit starts would be that code.
  • Every step of the Action sets BASH_ENV, ENV, LD_PRELOAD, LD_LIBRARY_PATH and LD_AUDIT empty, as it does NODE_OPTIONS: a file the shell runs before a step, or a library loaded into bash, node or gh, no longer comes from the workflow's env into the steps that hold the token or the payer key. A service Wasit starts no longer inherits them from the workflow's env either; set what it needs in service.start.
  • On Stellar, the payer's key signs only the authorization Wasit checked: one transfer of the checked amount from the payer to the checked payee, on the checked asset and the run's network, with no further call, one signature per payment, valid no longer than the payment's lifetime allows counted from the first ledger the run reads. The caps were checked on the terms Wasit hands the x402 client; they now hold on what is signed too, so an RPC whose simulation asks for anything else gets no signature. Such a payment check is ERROR (setup) with nothing signed, and so is a payment in a testnet token whose transfer needs further authorized calls. A payment whose built transaction carries anything but that one signed authorization is discarded unsent.
  • When a target accepts X402-09's underpayment and names a settlement in its PAYMENT-RESPONSE, Wasit looks that transaction up as it does X402-06's, and the FAIL says whether the chain shows the offered amount moved from the payer to payTo. The verdict is the same FAIL; a chain that gives no answer leaves it as it was.
  • A single-use resource, which answers a new request with 409 once X402-06's payment was served, no longer turns X402-07, 09, 10 and 11 into ERROR (harness) ("the challenge could not be read"). They are SKIP with the reason "resource consumed" (skipKind: "resource-consumed"), nothing is signed for them, and the route is not asked again after its 409. X402-08 still runs. A 409 before any payment of the run skips X402-06 with that reason instead of calling the challenge unreadable.
  • A payment run on Stellar refuses an http:// RPC (rpcUrl in the config, WASIT_RPC_URL, --rpc-url, the MCP tools' rpcUrl) before anything is sent, and wasit run refuses it before it starts the service: the x402 Stellar client builds the payment through that RPC and accepts only https.
  • MPP-01 reads the amount of a charge challenge as base units only: digits and nothing else. A negative, hexadecimal or space-padded amount is a malformed challenge (FAIL) when the challenge is read, as a decimal one already was; before, it reached the payment client, which refused it. The verdict is the same FAIL, and nothing is paid either way.

Added.

  • wasit init writes a wasit.config.json for one paid route of a service you operate, from one unpaid request to the route: its 402 tells x402 from MPP and gives the protocol, the network, the receiving address and asset (pinned) and an MPP channel. It pays and signs nothing, writes test networks only and never a header or a secret, adds to an existing config without overwriting it, and can run again on a route the config already has. A URL whose query has a parameter named like a credential (api_key, token, sig), given with --url or reached by the one redirect inside the origin, is refused. With --setup-keys, or a yes at a terminal, it also sets up a Stellar testnet payer key in .env (after checking git will not commit .env), funds it with Friendbot and swaps 10 test XLM for test USDC.
  • wasit run and the Action pay MPP on stellar:testnet: MPP-01 (charge) with MPP_PAYER_SECRET, planned from its unpaid challenge, held to the same $1.00 a payment and in the same $5.00 budget as x402; MPP-10, 11, 12 and 14 (channel) with COMMITMENT_SECRET_HEX, which sign commitments off-chain and are not charged to the cap, only for the channel in the config. MPP-13 is never run by wasit run. wasit run --dry-run plans an MPP charge endpoint from its challenge. A mainnet run pays x402 only.
  • @wasit-dev/core exports what wasit init is built from: readRoute, interpretRouteAnswer, chooseOffer, describeOffer, writeConfigText, addTestnetUsdc, and the plan of MPP-01 (planPaymentRun, planMppChargeEndpoint, combinePaymentPlan, describePaymentPlan, plannedChargeOf, assertMppPaymentRpc). MPP-01's result carries the settlement reference, and the pull request comment links it on Stellar Expert on testnet. The channel checks take onlyChannel.
  • @wasit-dev/core exports mainnetJobRefusals and assertMainnetJob: the rules a job in GitHub Actions has to meet for the mainnet opt-in. The run is started by hand (workflow_dispatch), on the default branch, on a GitHub-hosted runner; it tests a deployed service (no service.start, no local baseUrl); nothing was installed in the job before Wasit (no node_modules in the workspace); and WASIT_MAINNET_PAYER_SECRET is the only key variable set. Outside GitHub Actions none of them applies.
  • @wasit-dev/core exports two more rules of the mainnet opt-in, which the opt-in and its plan call. assertMainnetPayerBalance reads the payer's USDC balance on stellar:pubnet and refuses the run when the account holds more than $10 or the balance cannot be read: the $5 cap holds one run, not two at once on one account, so the account is the limit. On a test network it reads nothing. acquireMainnetRunLock takes a lock file (wasit-mainnet.lock) in the run's ledger folder, and a run that finds anything there does not start: a run still open, one that was stopped (its authorizations may still be open, so a person reads its ledger and deletes the file), or a file that is not a lock. It does not see another machine.
  • @wasit-dev/core exports the plan rules of the mainnet opt-in, which its plan calls. MAINNET_USDC is Circle's USDC on Stellar mainnet (CCW67TSZV3SSS2HXMBQ5JFGCKJNXKZM7UQUWUZPUTHXSTZLEO7SJMI75, checked against Circle's issuer, the contract the SDK derives from it, and the x402 SDK's constant). A mainnet run would pay only that asset, to a pinned payee other than the payer, at a lifetime of 1 to 300 seconds, with the token's decimals read as 7; its RPC's latest ledger must be within 12 ledgers of public Horizon's, and the payer's USDC balance through the RPC must equal Horizon's (readHorizonLatestLedger, readHorizonAccount).
  • @wasit-dev/core has a run ledger (RunLedger), taken by the x402 payment checks as the ledger option. Each signature's intent (check, endpoint, amount, payee, asset) is written and flushed after the run is charged and before the key is asked to sign; a ledger that cannot take it stops that payment with nothing signed. Then its outcome: signed with the ledger its authorization expires at (read from what the key signed), not signed, or unknown; discarded unsent, or sent with the answer's status; the settlements the chain shows (X402-06's, an underpayment X402-09 found accepted and settled, a payment X402-11 found taken); and the verdict of each entry's check. The file (wasit-ledger-<UTC time>.json) is created new, never overwritten, and rewritten whole on every change so it stays valid JSON; closing it records the payer's balances and whether they moved as the ledger says: consistent; explained (the payer's XLM did not move, and its USDC went down by more than the settlements the run verified, but by no more than the payments, sent and not verified, of checks that FAILed: a service that settles what it should refuse); or inconsistent. Every mainnet run writes one.
  • @wasit-dev/core has the mainnet opt-in for x402 on stellar:pubnet: openMainnetOptIn is the one place it is made. It opens a run only when the environment is on stellar:pubnet with operatedByMe: true, the key is in WASIT_MAINNET_PAYER_SECRET (and in no other key variable), the pin pays mainnet USDC to a payee that is not the payer, the RPC is https and serves mainnet, the GitHub Actions job rules hold when it runs there, and no other mainnet run holds the lock. The plan (planX402Run with mainnet) first reads the token's decimals, the payer's USDC through the RPC and on public Horizon ($10 at most, both equal) and the latest ledger on both, before the service is asked anything; any endpoint it cannot plan, or a worst case above what is left of the cap, refuses the whole run. So does a payer holding less than the run needs to finish its checks: the prices of the endpoints plus the highest price again (one settles at X402-06, and the later checks are still signed for the price). The refusal says how much USDC is missing; a run that starts with a balance at or above that minimum but below its worst case gets a warning that a service settling what it should refuse can take more (a refused run signs nothing, so it gets none). The plan prints the balance, the minimum, the worst case and the margin; the dry run, which reads no balance, prints the minimum a paying run will hold the payer to. The payment checks then pay only through the opt-in's budget, pin, plan, ledger and RPC, with the mainnet rules held again on every fresh challenge, and any refusal stops the whole run: every later check is skipped with the reason and nothing more is signed. A mainnet endpoint is paid only at the URL in the config: https (or on this machine), with no user name or password in it, and not through a redirect. The plan prints that URL (origin and path, never the query), and a payment the service sends anywhere else after the plan is refused. The run budget values mainnet USDC (7 decimals). MPP never pays on mainnet.
  • wasit run --mainnet pays real USDC on stellar:pubnet (x402 only), through that opt-in: every rule above is checked before a service starts or the target is asked anything, and a run that may not pay (a pull request, a run in another CI) is refused, never turned into the read-only tier. Its first line says MAINNET RUN, with the payer, the one payee and the caps; the plan follows, then a second MAINNET RUN line with the run's worst case, then the path of the run ledger (--ledger-dir, default the working directory, where the lock is taken too). At the end the run waits until every authorization it signed has expired (up to about five minutes), reads the payer's balances again on public Horizon and closes the ledger with them: consistent, explained or inconsistent. A run that stopped on a refusal, or whose ledger is inconsistent, exits 2; an explained one exits by its checks (1, for the FAILs that explain it). wasit run --mainnet does not read .env: its variables come from the shell. Without --mainnet, a paying run on stellar:pubnet is refused and says so. wasit run --dry-run on stellar:pubnet plans by the mainnet rules without a key and without reading the payer, the chain, the RPC or Horizon, and says what a paying run still reads first. @wasit-dev/core exports the parts the front ends share: planMainnetDryRun, mainnetOpeningLine, closeMainnetRun (the wait, the balances after, the ledger closed, the lock released) and githubDefaultBranch.
  • The Action's mainnet: true (beta) runs wasit run --mainnet. It is honoured only on workflow_dispatch, on a GitHub-hosted runner, with tier: payment; anywhere else the job stops with exit 2 before Wasit is installed, and the job summary names every rule it broke. The Action never starts a service on mainnet, and it uploads the run ledger as the artifact wasit-mainnet-ledger (no key in it; the payer's address and balances are). Every other rule is wasit run --mainnet's.
  • The MCP server has a mainnet opt-in (beta), set when it starts and never by an agent: WASIT_MAINNET_OPT_IN=1, WASIT_MAINNET_CONFIG (an absolute path) and WASIT_MAINNET_ENVIRONMENT, all three or none, outside CI. The server reads that config once and registers wasit_x402_mainnet_test, whose only argument is the name of an x402 endpoint of it; a rule that does not hold (the environment on stellar:pubnet with operatedByMe, the USDC pin, an https RPC, WASIT_MAINNET_PAYER_SECRET set) stops the server at start with exit 2. Each call opens its own mainnet run, one at a time, on one budget for the whole process ($5.00, or the config's lower maxRunUsd; a restart resets it), writes its ledger next to the config, and runs to its end even when the client cancels it. A call that stops, or whose ledger is inconsistent (its balances after unread included), locks the tool for the rest of the process: every later call is refused until a person has compared the ledger with the chain and restarted the server. An explained ledger does not lock it. The result's mainnet.ledgerResult says which. The other tools still refuse stellar:pubnet, and --mainnet among the server's arguments still stops it.

Removed.

  • @wasit-dev/core no longer exports refuseMainnetSwitch, mainnetStartupSwitches, MainnetOptInRefusedError, MAINNET_OPT_IN_ABSENT and the type MainnetSwitch (0.8.0-beta.1): the switches that only refused. A front end opens a mainnet run with openMainnetOptIn.

Fixed.

  • A dry run of a run whose only MPP endpoints are channel endpoints no longer says it plans x402 payment checks.
  • On Stellar testnet the x402 client builds and simulates the payment through the run's RPC, the one whose network Wasit checks and reads the settlement from. It used https://soroban-testnet.stellar.org whatever RPC the run was given.
  • In the coloured output of wasit test (at a terminal, or with FORCE_COLOR), a wrapped line of a fix could start with ::name:: or ##[name] from the middle of the text, which a GitHub job log reads as a workflow command. Every wrapped line is now broken the way the sanitiser breaks the start of a text.
  • wasit ci-report keeps a settlement reference from a report file only on a PASS, as wasit run writes it; on any other status it is dropped.

0.8.0-beta.1

Beta
npm ↗GitHub ↗

A pre-release for beta testers, on npm under the beta tag (npm install -g @wasit-dev/cli@beta); latest stays at 0.7.0. All three packages, versioned together. New: a config file for a whole service (wasit.config.json), wasit run with a read-only tier and a payment tier, wasit ci-report, a GitHub Action that runs them, and a seventeenth check, X402-11. Payments are made on test networks only, and every payment Wasit signs is held to $1.00, to $5.00 a run, and to a plan read before the run. The mainnet opt-in is not part of this version: the switches that would ask for it refuse. The guides on usewasit.dev still describe 0.7.0; this entry, the package READMEs and wasit run --help describe the beta.

Results can change on upgrade.

  • Payment checks pay on test networks only: stellar:testnet, Base Sepolia (eip155:84532), Ethereum Sepolia (eip155:11155111) and Solana devnet, and the MPP checks on stellar:testnet only. Any other network, stellar:pubnet included, is refused before a key is read, in wasit test, wasit mpp-charge, wasit mpp-channel, the MCP tools and core.
  • A price above $1.00 is not paid: X402-06 gets no verdict (ERROR (setup)), the other payment checks are skipped, and nothing is signed.
  • A paid request, and every MPP request, no longer follows a redirect: a 3xx gives that check no verdict, and the payment is not sent again.
  • The RPC must serve the run's network (the Stellar network passphrase, the EVM chain id, the Solana genesis hash) before anything is signed; another network, or no answer, stops the payment checks with no verdict.
  • An x402 v1 challenge is reported as unsupported, not as a failure, and a run that could grade nothing exits 2.

Fixed: two MPP defects of 0.7.0. In 0.7.0 MPP-01 paid on stellar:pubnet when the run named it (--network, or the MCP tool's network argument), with no cap (read from the code, not run: it would need mainnet funds). 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 (shown offline, against a stand-in RPC). Both are fixed: 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. See the advisory GHSA-7c36-rg54-r3v8.

Added: wasit.config.json, wasit run and wasit ci-report. The config (version 1) holds a service's endpoints, methods, request bodies and environments. The loader is strict: an unknown key is an error, and secrets, the mainnet opt-in and per-payment caps have no place in the file. wasit run runs every endpoint of it (--env, --endpoint) and writes one report (--json, --out); it can start the service itself (--start, --start-if-local) and compare with the report of the default branch (--baseline). wasit run --read-only runs X402-01 to X402-05, which send no payment. wasit run --dry-run prints, without a key, what the payment checks would sign. wasit ci-report turns a report into the pull request comment and the job summary.

Added: the payment tier. wasit run without --read-only pays, on test networks only, when the environment has operatedByMe: true and the chain's key variable is set. Each signature is held to $1.00 and the run to $5.00 (maxRunUsd can only lower it), to the payTo and asset the config pins, and to the plan read before the run; the x402 client is handed the one option checked, and what it signed is compared before it is sent. In GitHub Actions it pays only on a push to the default branch, a schedule and workflow_dispatch; a pull request runs the read-only checks and says "payment checks not run: pull request", and a payer key given to a run that may not pay stops it with exit 2 before the service starts. On a GitHub-hosted runner with a payer key, a service Wasit starts (--start) runs as a separate user, wasit-service. In another CI (CI set, not GitHub Actions) the payment tier stops with exit 2: use --read-only there.

Added: the GitHub Action (action/, pinned by full commit SHA). A composite action for Linux runners with Node 22, which builds Wasit from the ref it is pinned to. Inputs: config, environment, tier (read-only or payment), endpoints, and mainnet, which is refused. It comments on the pull request (one comment, updated on each push), compares with the last green run on the default branch and names it, and writes the job summary.

Added: the run on the pull request. The comment shows a table of each endpoint's checks with a mark for each result (✅ PASS, ❌ FAIL, ⚪ SKIP, ⚠️ ERROR), and every check's detail folded at the end. On stellar:testnet, when X402-06 passed, it links that payment's transaction on Stellar Expert, as the check read it back from the chain (the new reference field of a passing result, also in --json and the MCP tools' output). While Wasit runs, the comment says "⏳ Wasit is running", with a link to the run. With the permission checks: write, the Action also adds a check run, "Wasit conformance", completed at the end with the verdict and the job summary (wasit ci-report --check-run); without it, that check is left out. A pull request from a fork gets neither. NODE_OPTIONS is set empty in every step of the Action, so a NODE_OPTIONS in the workflow's env no longer reaches Wasit or a service it starts: put the options a service needs in service.start. The example workflow (action/examples/wasit.yml) asks for checks: write and runs one Wasit job per pull request, a newer push cancelling the older one.

Added: X402-11, "Rejected Request Not Settled". For an endpoint with a reject case in the config, on Stellar: a valid payment is sent with the request the service must refuse, and the chain is read until that payment's authorization has expired. Unused, with no transfer, passes; used, or the request served, fails. A lifetime above 300 s, or below 30 s, is skipped before anything is signed, and the wait stops 360 s after the payment was sent. See docs/CHECKS.md.

Added: the mainnet switches, which refuse. wasit run --mainnet, the Action input mainnet: true, and the MCP server's WASIT_MAINNET_OPT_IN, WASIT_MAINNET_CONFIG and --mainnet stop with exit 2 and "the mainnet opt-in is not part of this version". Nothing is started, sent or signed.

Added: the MCP server's RPC lock. WASIT_RPC_URL, read when the server starts, fixes the RPC of every tool call, and the rpcUrl argument is then refused before anything is sent. A result that reads the chain names its RPC by origin, where it came from, and when it is not Wasit's default (in the text and in structuredContent.rpc).

Added: coloured, live output at a terminal. wasit test shows its checks in two blocks, challenge and payment. Each line has a mark and a badge that agree (✓ PASS on green, ✗ FAIL on red, ○ SKIP on yellow, ! ERROR on magenta) and its duration. A spinner line says what the check in flight is doing, and the verdict, the counts and the run's duration come at the end. The colours are Wasit's own, exact on a terminal with 24-bit colour. wasit mpp-charge and wasit mpp-channel mark their results the same way. A pipe, CI, --json and NO_COLOR get the plain text as before; FORCE_COLOR=1 colours a pipe.

Changed: @stellar/stellar-sdk 16.4.1: the test network is on protocol 30, and 16.1.0 cannot read its ledger headers.

Not in this version: the mainnet opt-in; paying MPP from wasit run and the Action (an MPP endpoint's payment checks are skipped, with the reason); wasit init.

0.7.0

Stable
npm ↗GitHub ↗

All three packages, versioned together as usual. The x402 payment checks now pay on Base Sepolia, Ethereum Sepolia and Solana devnet as well as Stellar testnet, and three negative payment checks join them (X402-08 to X402-10), for sixteen checks in all. X402-04 and X402-05 read every payment option, on any chain, and every FAIL says what to change. MPP-01 now signs only for the network the run names. New in the CLI: wasit serve, a paywall that misbehaves on purpose, and wasit wallet --network.

Results can change on upgrade. A service on a chain other than Stellar now passes X402-05 where it failed. A challenge with a broken second option now fails X402-04 or X402-05 where it passed. A challenge without scheme, asset or maxTimeoutSeconds, or with a wrongly typed field, now fails X402-04. A target that accepts replayed, underpaid or expired payments now fails X402-08, X402-09 or X402-10; one that refuses even a valid payment now gets X402-07 skipped instead of passed. A payer whose balance is below the price now gets no verdict from X402-06, and nothing is sent. A target that asks MPP-01 to pay on a network other than the run's now gets no verdict and is not paid, an http --rpc-url now stops MPP-01 before anything is sent, and a target that answers 402 after being paid has that 402 reported instead of being paid again.

Fixed — MPP-01 signs only for the network the run names, and pays once. MPP-01 read the amount, currency and recipient from the target's challenge but not its network, and the SDK's charge client signs for whichever network the challenge names, through its own default RPC endpoint for it. A target asking for stellar:pubnet could therefore have a mainnet transfer, for the amount it chose, signed by the payer key if that account holds mainnet funds. This is read from the SDK's source (@stellar/mpp 0.7.1), not run: it would need mainnet funds. A challenge for any network but the run's is now refused before anything is signed, on the unpaid read and on the request actually paid, with no verdict (ERROR (configuration)); a network that is not stellar:testnet or stellar:pubnet fails. The payment now goes through the run's RPC endpoint (--rpc-url, MCP: rpcUrl) rather than the SDK's default, so an http endpoint, which the SDK's client refuses, now stops the run before anything is sent. And it is made once: the SDK's client paid up to three times when a target kept answering 402 after being paid.

Changed — X402-04 and X402-05 read every payment option, on any chain. Both read only accepts[0], and X402-05 accepted only stellar:testnet and stellar:pubnet, so a conformant x402 service on another chain failed it, and a challenge offering several networks was judged on whichever came first. Both now check every option and name the one at fault by its index. X402-05 requires CAIP-2, as x402 v2 does, and applies each namespace's own rules where its CAIP-2 definition fixes them: stellar is testnet or pubnet, eip155 is a base-10 chain id, solana is the first 32 characters of the base58 genesis hash. A well-formed id in another namespace passes, and the result says only the format was checked. A challenge with no options now fails X402-04 with that reason instead of three missing fields.

Changed — the payment checks pay only on the network the run names. A challenge offering several options is paid on the option for --network (MCP: network), instead of the first option the client supports, which could be the other Stellar network. A challenge with no option on that network, or only one in a scheme other than exact, gets X402-06 and X402-07 skipped with the networks it offers; nothing is sent. A --network other than stellar:testnet or stellar:pubnet, or pubnet without --rpc-url, now stops the run at preflight, before any payment, rather than after paying with no way to verify the settlement.

Added — every failure says what to change. A FAIL now carries a Fix line and a Docs link, in the CLI's text output, in --json and in the MCP server's structuredContent (fix, docs). Where a check can tell the cause, the fix is specific to it: eip155:0x14a34 is told to write eip155:84532, a 200 on an unpaid request is told to put the payment middleware in front of the route, a missing PAYMENT-RESPONSE is told what to return. Otherwise it is the check's general fix, now part of every catalogue entry (fix). Only a FAIL carries one; a skip or a no-verdict is not a defect. New in core: fixFor(), catalogueEntry(), docsUrlFor(), and an optional hint on CheckResult. The check catalogue gains "Common failures and fixes" (/docs/checks/common-failures): the failures builders hit most, by check, with the reasoning, the CAIP-2 ids of common networks, and links to where each was met in a real implementation.

Changed — X402-04 checks every field the advertised version requires. It checked three: the price, network and payTo. x402 v2 requires scheme, network, amount, asset, payTo and maxTimeoutSeconds in every option; v1 also requires resource and description. A field present with the wrong type, such as a numeric amount or a maxTimeoutSeconds that is not a positive number, is reported as such instead of as missing. Challenges built with the official x402 server SDK carry every field, so they are unaffected.

Added — the x402 payment checks pay on Base Sepolia. --network eip155:84532 (MCP: network) runs X402-06 and X402-07 there, with the payer key in EVM_PRIVATE_KEY. Payment uses the exact scheme's EIP-3009 method, so the facilitator pays the gas and a payer needs Base Sepolia USDC and no ETH. X402-06 holds the settlement to the receipt's ERC-20 Transfer log by the Stellar rules; X402-07 forges only the payer's signature. Both EVM transfer methods are paid: EIP-3009, and Permit2 with its approval signed as a gas-sponsored EIP-2612 permit (a Permit2 target without sponsoring, where the payer never approved Permit2, is ERROR (setup), not a failure). Against Wasit's own Base Sepolia fixtures, both methods pass with X402-06 settled on-chain and the payer holding no ETH; against wasit serve posing on Base Sepolia, the lying modes fail both checks (evidence). Stellar stays the default; MPP is Stellar only. Under the hood, the payment checks now go through a per-chain adapter, and the x402 SDK moves from 2.19 to 2.28.

Added — the x402 payment checks pay on Ethereum Sepolia. --network eip155:11155111 runs X402-06 to X402-10 there with the same EVM_PRIVATE_KEY, paying in Circle's Sepolia USDC through EIP-3009, so the payer needs no ETH. The SDK ships no default asset for this network, and its client's spend controls refuse other assets: Wasit allows Circle's Sepolia USDC there, with the SDK's own $1 cap. The wait for a settled transaction is now per network: 10 blocks on Sepolia, whose blocks are 12 seconds apart. No public facilitator settles Ethereum Sepolia, so Wasit's own fixture runs the SDK's facilitator itself. Against it, all ten pass with the settlement read back independently; against wasit serve there, the lying modes fail (evidence). BNB Smart Chain testnet stays read-only.

Added — the x402 payment checks pay on Solana devnet. --network solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1 (MCP: network) runs X402-06 to X402-10 there, with the payer key in SVM_PRIVATE_KEY (base58 of the 64-byte keypair, as wallets export it). The payer signs a transaction with one TransferChecked, and the facilitator signs as fee payer, so a payer needs devnet USDC and no SOL. X402-06 holds the settlement to the confirmed transaction's token balances: exactly one transfer, of the advertised amount and mint, to an account payTo owns, from this run's payer. X402-07 forges only the payer's signature; X402-10 builds the payment on a blockhash the RPC confirms has expired, since on Solana the blockhash, not maxTimeoutSeconds, sets a payment's lifetime. Against Wasit's own Solana fixture, all ten pass with the settlement read back independently and the payer holding no SOL; against wasit serve on devnet, the lying modes fail (evidence). The payee's token account must exist before the payment. Library users with TypeScript 6 or 7 see npm peer warnings from @solana/kit 5 at install; the install succeeds and core runs.

Added — three negative payment checks: X402-08 Payment Replay Rejected, X402-09 Underpayment Rejected, X402-10 Expired Authorization Rejected. Each sends a payment the target must refuse: the exact payment X402-06 was accepted for, sent again; a validly signed payment for half the price that still claims the full price; and a payment signed with a one-second lifetime, sent once it has expired (on Solana, one built on an expired blockhash). They run on Stellar, Base Sepolia and Solana devnet. A refusal now shows the target's stated reason, when it gives one. Against Wasit's own fixtures all three pass on all three chains, refused for the reason each is about (invalid_exact_stellar_payload_wrong_amount, invalid_exact_evm_payload_authorization_value_mismatch, invalid_exact_evm_payload_authorization_valid_before, invalid_exact_svm_payload_amount_mismatch, ...); against wasit serve --mode no-settle all three fail (evidence). X402-08 is skipped when the challenge advertises the payment-identifier extension, whose cached replies are legitimate. The catalogue grows from 13 to 16 checks. X402-10 waits about 20 seconds on Stellar for the authorization to expire.

Changed — the negative payment checks need an accepted baseline. When the target refuses X402-06's valid payment, X402-07 to X402-10 are skipped rather than passed: a target that refuses everything proves nothing by refusing a bad payment. X402-07 used to pass in that case.

Changed — a price the official client will not pay gets no verdict. The official x402 client, which Wasit pays through, pays only the SDK's default assets and at most $1 a payment. A target above that used to get X402-06 ERROR (harness) with the SDK's own configuration advice; it now gets ERROR (setup) naming the price or the asset, and nothing is sent. Wasit keeps the cap: it pays automatically, and on stellar:pubnet with real money.

Fixed — a failed settlement names its reason. A valid payment that verified but did not settle read got 402.. The official SDK server reports why in a PAYMENT-RESPONSE with success: false, which Wasit now reads: got 402 (settlement failed: invalid_exact_evm_transaction_failed). The same reason now shows on refused negative payments, which is how the public facilitator was seen refusing a replay at settlement rather than at verify.

Changed — a payer that cannot cover the price gets no verdict. X402-06 reads the payer's balance of the advertised asset before it signs; below the price, it reports ERROR (setup) naming the key to fund, sends nothing, and skips X402-07–10. An unfunded payer used to fail X402-06 on Solana devnet, for a reason real defects give too, and to stop on Stellar with only the token's error code. A balance that cannot be read pays as before. Measured on all three chains with fresh payers (evidence).

Changed — a payer key for the wrong chain, or a malformed one, stops the run at preflight. It used to surface mid-payment as a harness error. The message never echoes the key.

Added — wasit serve, a paywall that misbehaves on purpose. The checks test a service that sells; this tests an agent that pays. It runs a local x402 paywall in one of four modes: no-settle serves without settling, wrong-settlement cites a transaction that is not the payment, wrong-network asks for mainnet, overprice asks for one million USDC. The server reports what the agent did. It never settles or forwards anything, so no funds move. Every mode's challenge is well-formed (wasit test --read-only passes it), and the two settlement modes reproduce the servers built for the 0.6.0 A/B: X402-06 and X402-07 fail against them. --network eip155:84532 poses the same modes on Base Sepolia, and --network solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1 on Solana devnet. Two more modes are about the challenge: v1-challenge sends only an x402 v1 challenge (Base Sepolia and Solana devnet; v1 names no Stellar network), and malformed-header a PAYMENT-REQUIRED header that does not decode; both answer a payment with 402 and log which header it came in. The official SDK client pays the first as v1 and refuses the second without paying (evidence).

Added — wasit wallet --network for the Base Sepolia and Solana devnet payers. wasit wallet create --role x402 --network eip155:84532 (or Solana devnet) generates the payer key in the form the payment checks read and prints its .env line and the address to fund at faucet.circle.com; status --network shows that payer's USDC balance, and fund --network prints the faucet step, since the payer needs nothing else. Testnets only; the MPP roles stay on Stellar. The dashboard's environment panel lists EVM_PRIVATE_KEY and SVM_PRIVATE_KEY.

Changed — the CLI's payment warning says when it applies. It said funds would move before every payment run, including runs where the target offered no option on the run's network and nothing was paid.

0.6.0

Stable
npm ↗GitHub ↗

All three packages, versioned together as usual. The two x402 payment checks now prove what their names say: X402-06 verifies the settlement on-chain, and X402-07 forges only the signature. MPP-01 reads the newer form of the transfer event and stops blaming a target for a slow RPC. Node.js 22 is supported. No check was added or removed.

Results can change on upgrade. A target that serves without settling, reports a transaction that is not its settlement, or answers without a PAYMENT-RESPONSE header now fails X402-06. A target that decodes a payment without verifying its signature, or accepts a forged one with 201 or 204, now fails X402-07. In the other direction, an MPP payment to a muxed recipient no longer fails MPP-01, and an RPC that stops advancing now gives no verdict instead of a FAIL. Against Stellar's official reference paywall (stellar/x402-stellar), this build passes 7/7, with X402-06 verified on-chain.

Changed — X402-06 verifies settlement on-chain. It passed on any 2xx, which established that the target served the resource, not that the payment landed. It now reads the settlement from the PAYMENT-RESPONSE header and holds the reported transaction to the advertised terms on Stellar RPC, as MPP-01 does: one transfer from this run's payer to payTo, for amount of asset. A target that serves without settling, or reports a transaction that is not its settlement, now fails; against a server built to do exactly that, 0.5.0 passed and this build fails both variants. A settlement_pending response is reconciled on chain, as the spec directs. wasit test gains --rpc-url, and the MCP tool rpcUrl. Settlement verification moved to a shared module so both checks apply identical rules. If a run goes red on upgrade, the check got stronger, not the service worse.

Fixed — X402-07 corrupts only the signature. It overwrote the tail of the base64 envelope, which broke XDR decoding, so a target that decoded the envelope and never verified the signature still refused it and passed. It now flips one byte of the client's Soroban authorization-entry signature and leaves the rest of the transaction intact. Against a server that decodes but never verifies, 0.5.0 passed and this build fails; the x402.org facilitator now rejects at simulation (…_simulation_failed) rather than at decoding (…_malformed). Acceptance is now any 2xx, not only 200, so a target that answers 201 or 204 to a forged payment no longer passes. Two offline tests, each mutation-checked.

Fixed — MPP-01 reads CAP-67 transfer events. Since CAP-67, a SEP-41 transfer to a muxed address (M...) emits its data as a map { amount, to_muxed_id } instead of a bare i128, with the base address in the topic. MPP-01 read only the bare form, so a settlement to a muxed recipient would have been reported as no transfer at all. It now reads both, and matches an advertised muxed recipient on the base account and the id. Verified against a real testnet transfer to a muxed address; seven offline tests, each mutation-checked. Checking this end to end also showed that the official @stellar/mpp charge server cannot verify a payment to a muxed recipient either (its verification throws on the same map), so no MPP service built on it can accept one today.

Fixed — MPP-01 no longer blames the target for a slow RPC. It gave RPC twelve seconds to show the settled transaction, then reported it as never broadcast. On a lagging RPC that is a FAIL against a target that did nothing wrong. The wait is now measured in ledgers: the transaction is reported missing only once RPC has closed ten more ledgers without it, and an RPC that stops advancing gives no verdict (ERROR (harness)) instead of a FAIL. Four offline tests, each mutation-checked.

Fixed — MPP-01 no longer says it paid when the target refused. When the target answered with an error instead of the resource, the FAIL read "Paid the advertised … base units", although a target that refuses may never broadcast the transaction, and in the run that found this none was. The verdict is unchanged; the wording now claims only that a payment was submitted.

Changed — Node.js 22 is supported. All three packages now declare "node": ">=22" instead of >=24. Nothing required 24: the full test suite, the CLI, the MCP server and a run against the fixtures all pass on Node 22, and no runtime dependency requires more. Node 22 is still a maintained LTS, and CI environments such as the official MPP SDK's run on it. CI now tests the packages on both Node 22 and Node 24.

Fixed — wasit wallet status --role <role> exits 2 when it could not check that role. It exited 0 on an unreadable key, so wasit wallet status --role x402 && deploy went ahead on a key that was never checked, although docs/guides/cli.md already said a malformed key exits 2. With --role it now exits 2 whenever the role could not be checked: key not set, unreadable, or its balance lookup failed. An unfunded account is an answer and exits 0. Without --role, one unchecked role stays a row and the command exits 0. Three offline tests, each mutation-checked.

Added, repository only — scripts/run-all.sh. Starts the fixtures if they are not already up, runs the x402, MPP charge and MPP channel suites, prints one summary and stops the fixtures it started. Free checks by default; --full adds the checks that move testnet funds, and --npm runs the published CLI. Not part of any npm package.

0.5.0

Stable
npm ↗GitHub ↗

All three packages, versioned together as usual. Two reporting fixes found by running Wasit against code it did not write, and one addition that brings the MCP server level with the CLI. No check was added or removed.

Results can change on upgrade, in two situations only: a target that issues an x402 v1 challenge (see below), and an MPP channel target that refuses a replay with a status other than 402 and 2xx, whose FAIL no longer calls it a double-spend. Against a conformant v2 target nothing changes: Wasit's own x402 fixture passes 7/7 with this build, as it did with 0.4.0.

Fixed — MPP-12 and MPP-14 no longer call a refused replay a double-spend. Both reported any non-402 response as "accepted twice ... This is a double-spend." The official SDK's channel server on main refuses replays with HTTP 500, so the check claimed a double-spend while the server had in fact refused. The verdict stays FAIL, since the required status is 402, but the double-spend wording now appears only for a 2xx. Found running against the SDK's own example servers; see docs/evidence/2026-09-24-official-sdk-reference-run.md.

Added — wasit_x402_test accepts method, body and headers. The CLI's --method, --body and --header have existed since 0.1.0, but the MCP tool could only send a GET, so an agent could not test a paid POST endpoint at all. The same request shape is applied to every probe, including X402-06 and X402-07. A body sent with GET or HEAD is refused as a configuration error. Header values travel through the agent's transcript, which the tool description and docs/guides/mcp.md say plainly.

Fixed — an x402 v1 challenge is read, and an unpayable challenge no longer fails the payment checks. Run with the operator's written authorization against a service that speaks x402 v1, 0.4.0 reported X402-02 FAIL, skipped X402-03–05, and reported X402-06 and X402-07 as FAIL although no payment was ever built or sent, so X402-07 read as a corrupted signature that was not rejected. docs/CHECKS.md already said a challenge that cannot be read has no verdict. Now X402-02 still fails, because the exact scheme on Stellar is defined for v2 only, but says a v1 challenge was found in the body; X402-03–05 inspect that body; and X402-06/X402-07 are skipped with the reason. The same skip applies to any challenge the payment client cannot read. Seven offline tests, each mutation-checked.

0.4.0

Stable
npm ↗GitHub ↗

All three packages, versioned together as usual. Two correctness fixes, both in how a run reports what it actually established. Neither adds a check; both change what existing checks report in situations where the old answer was wrong.

Fixed — a charge-mode payment client no longer breaks every later channel-mode check. Mppx.create replaces globalThis.fetch with a wrapper bound to one payment method unless polyfill: false is passed. Once MPP-01 created a charge client, every later channel-mode 402 in the same process was refused by that wrapper with "No method found for challenges: stellar.channel. Available: stellar.charge", reported as a defect in a target that was in fact conformant. The CLI hid this because each invocation is a fresh process; the MCP server did not, because one process answers many tool calls in a row. Only the first payment-mode check in a process produced a trustworthy verdict. fetchTarget now resolves the underlying fetch through mppx's own Symbol.for("mppx.fetch.wrapper") tag, so a check observes the target rather than whatever a previous check installed on the global. packages/core's charge client also passes polyfill: false, which is necessary but not sufficient on its own: one stale build or one new caller brings the leak back. Regression test: test/unit/fetch-target-isolation.test.ts.

Changed — a failed setup is reported as no verdict, not as a defect. MPP-11, MPP-12 and MPP-14 each need one correctly advancing commitment accepted before they can probe anything. That submission used to be attempted once, and a refusal was reported as FAIL. Two very different worlds produce that refusal identically: a target that wrongly rejects valid vouchers, and a channel whose cumulative moved between the challenge being issued and the credential being submitted, because something else is paying through it. The submission is now retried up to three times, each against a freshly issued challenge, so ordinary contention clears on its own. When every attempt is refused the result is ERROR with the new error kind setup, carrying all three refusals verbatim, and the run exits 2 (no-verdict) instead of 1 (non-conformant).

Added — CheckSetupError and the setup error kind, exported from @wasit-dev/core. errorKind in --json and in the MCP server's structuredContent can now carry "setup" alongside unreachable, configuration and harness. A consumer that switches exhaustively on that field needs a branch for it.

Added — scripts/fixtures.sh, which starts, stops and reports on the four local fixture servers so a full local run needs one terminal instead of four. Also adds packages/core/test/fixtures/mpp-channel-refusing-server.ts, a target that issues valid challenges and refuses every credential, which reproduces a setup failure on demand rather than by racing two runs.

0.3.0

Stable
npm ↗

All three packages. Adds an interactive dashboard and testnet wallet tooling to the CLI, a wallet layer to core, and a runtime version lookup in the MCP server. All three are versioned together so they always resolve the same @wasit-dev/core, rather than the MCP server quietly running a version behind the CLI.

PackageVersion
@wasit-dev/core0.2.0 → 0.3.0
@wasit-dev/cli0.2.0 → 0.3.0
@wasit-dev/server0.2.0 → 0.3.0

Added — an interactive dashboard. Running wasit with no arguments in a terminal opens a menu: the three check runners, a catalogue browser, and a testnet wallet screen, driven by arrow keys. A run shows a live elapsed timer and per-check progress, ends with total and average timing, and can be saved to wasit-<protocol>-<timestamp>.json with s — the same shape as --json. A misconfigured run gets its own error screen rather than a red line under an otherwise-empty checklist. Piped or in CI, wasit still prints help, so nothing that scripts it today changes behaviour.

Added — wasit wallet. status, create and fund for the testnet payer keys the other subcommands read from .env. There is deliberately no --network flag: Friendbot, the printed USDC issuer and the whole idea of a disposable generated key only make sense on testnet. XLM funding via Friendbot is fully automatic. USDC is not, and the tool says so rather than pretending otherwise: the trustline is created automatically, but a balance needs one manual visit to Circle's faucet or a configured WASIT_USDC_DISTRIBUTOR_SECRET, because no scriptable testnet USDC faucet exists for Stellar.

Changed — core classifies its own wallet failures. Every wallet function in core now throws the taxonomy in errors.ts (ConfigurationError, TargetUnreachableError) instead of leaking raw Stellar SDK errors, with Horizon's result codes (op_underfunded, op_no_trust) folded into the message. Callers render error.message and never inspect an SDK error type, which is what stopped the CLI and the dashboard reporting the same failure two different ways. Horizon and Friendbot requests are now bounded by a timeout; previously a stalled request had no way back.

Fixed — a malformed key in .env no longer kills the process. A truncated paste, a G... public key in a secret's slot, or a hex commitment seed in a Stellar-secret slot reached Keypair.fromSecret unguarded. In the dashboard that escaped as an unhandled rejection and terminated the process from under Ink's renderer, leaving the wallet screen frozen on its loading spinner; from wasit wallet it printed an SDK stack trace instead of the CLI's own error contract. All three now report the offending variable by name and exit 2, and the message never echoes the rejected value.

Fixed — wasit wallet status --role mpp-channel is rejected up front. COMMITMENT_SECRET_HEX is a raw hex seed with no on-chain account, which the help text and docs already said; the command accepted the role anyway and then crashed deriving an address for it.

Fixed — .env written by the dashboard is owner-only and atomic. The confirm-to-save flow wrote with Node's default permissions, which under a typical umask produces a world-readable 0644 file holding Stellar secrets. It is now written 0600 via a temp file and a rename, so an interrupted write cannot truncate the file, and an existing world-readable .env is tightened on the next write.

Fixed — Friendbot no longer claims a transfer that did not happen. A "this account already exists" response is treated as success, correctly, but every caller reported it as "Funded: 10,000 XLM." regardless.

Added — releases are verified from a clean install. npm run verify:clean-install packs the three packages, installs the tarballs into an empty project, and drives the result as a user would — the CLI's own binary and the MCP server over stdio, with no keys and no target. Everything else in CI runs against the working tree, where npm has deduplicated one dependency graph across all three workspaces; that is not the tree an installer gets, which is how 0.1.1 shipped without the checks subcommand its own docs described. Now part of CI. See #2.

Fixed — the MCP server reported the wrong version. It announced 0.1.0 in the initialize handshake through two releases, because the string was hardcoded. It now reads the package's own manifest at runtime, the same way wasit --version does, so a client cannot report a bug against a version that was never published.

Fixed — quitting the dashboard restores the terminal. q called process.exit directly, skipping Ink's unmount and leaving the cursor hidden. Ctrl+C still exits 130 immediately, by design.

0.2.0

Stable
npm ↗

All three packages. Adds a machine-readable surface to every check runner, and brings each package's declared dependencies in line with what its code actually imports.

PackageVersion
@wasit-dev/core0.1.1 → 0.2.0
@wasit-dev/cli0.1.1 → 0.2.0
@wasit-dev/server0.1.2 → 0.2.0

Added — wasit checks. Lists every check the tool can run, grouped by protocol and annotated with the subcommand that runs it, plus flags for negative, destructive and funds-spending checks. --protocol narrows it to one suite. The catalogue behind it is exported from core as CHECK_CATALOGUE and stays a short-form companion to docs/CHECKS.md, which remains the source of truth for pass criteria and spec citations.

Added — --json on every check runner. test, mpp-charge, mpp-channel and checks all take it. A run emits outcome, per-status counts, and a results array carrying each check's id, name, status, detail, destructive flag and — when a check could not run — its errorKind. Human-readable output goes to stderr when --json is set, so stdout stays parseable.

Changed — MCP structuredContent is now the same reshape as --json. @wasit-dev/server builds it from core's toStructuredRun() verbatim instead of assembling its own object, so the CLI and an agent can no longer report the same run in two different shapes. Anything parsing the old structuredContent should re-read it: the field set is close, but it is no longer hand-built here.

Changed — dependencies now match imports. @wasit-dev/core dropped @x402/core, @x402/express, commander and dotenv from its runtime dependencies; none are imported by its source, and the first two are only used by the bundled fixtures, which are not published. express moved in as a devDependency — the x402 fixture imports it directly but it had never been declared anywhere, resolving only because npm happened to hoist it from a deeper transitive dependency. @wasit-dev/cli dropped @stellar/mpp, @stellar/stellar-sdk and mppx, which it never imports, and its commander and dotenv ranges now name the versions the code is actually built and verified against rather than two majors behind.

Known issue — a clean install still resolves two Stellar SDKs. @stellar/mpp@0.7.1 declares the peers @stellar/stellar-sdk@^15.1.0 and mppx@^0.6.29; Wasit uses ^16.1.0 and ^0.8.14, outside both ranges. A fresh npm install satisfies that peer by nesting an older SDK alongside the one Wasit uses, and that older SDK carries open axios advisories with no fix available upstream. A repository checkout dedupes to a single SDK instead, so npm audit reports differently depending on which tree you are in — meaning the configuration Wasit is developed against is not the one its users get. Being reported upstream; nothing in this release changes that chain.

0.1.1

Stable
npm ↗

@wasit-dev/server only. core and cli are unchanged and stay at 0.1.0 — only the package that actually changed gets a version bump.

Fixed: the wasit://checks MCP resource located docs/CHECKS.md by walking up from the server's own installed location, which found it in a local git checkout but not in an npx @wasit-dev/server install with no repo present. The resource was silently absent rather than erroring. docs/CHECKS.md is now copied into the package at publish time (a prepack script) and shipped under files, so it resolves the same way whether Wasit is run from a checkout or installed straight from npm. The four test tools were never affected by this — only the check catalogue resource was.

0.1.0

Stable
npm ↗

First public release. All three packages are now live on npm under the @wasit-dev organization.

PackageVersionnpmWhat it is
@wasit-dev/core0.1.0https://www.npmjs.com/package/@wasit-dev/coreThe check-suite library. x402 and MPP conformance logic, on-chain settlement verification, no CLI or MCP dependency of its own.
@wasit-dev/cli0.1.0https://www.npmjs.com/package/@wasit-dev/cliThe wasit command. Thin adapter over @wasit-dev/core for running checks from a terminal or CI.
@wasit-dev/server0.1.0https://www.npmjs.com/package/@wasit-dev/serverThe wasit-mcp command. Exposes the same checks as MCP tools so an agent (Claude or otherwise) can run them directly.

Anyone can now install and run Wasit without cloning the repository:

npm install -g @wasit-dev/cli
wasit test <target-url>

or wire the MCP server into an agent:

npx @wasit-dev/server

What Wasit checks in this release

x402. Seven checks (X402-01 through X402-07) covering the full flow: the 402 status itself, the payment header, its base64/JSON payload, the required fields inside that payload (version-aware, since v1 and v2 use different field names for price), the CAIP-2 network identifier, a real signed payment that must be accepted, and a deliberately corrupted signature that must be rejected. The two payment checks settle real testnet funds and are skipped automatically when no payer key is configured, or explicitly with --read-only.

MPP, charge mode. One check (MPP-01) that pays the target and then verifies the settlement independently on-chain, by reading the token contract's own CAP-46 transfer event via Stellar RPC rather than trusting the response the target returns. This catches a target whose response claims a payment succeeded when the on-chain event says otherwise.

MPP, channel mode. Five checks (MPP-10, MPP-11, MPP-12, MPP-14, and MPP-13). The first four are non-destructive: channel deployment and state, cumulative-commitment ordering, challenge replay rejection, and commitment replay rejection against a fresh challenge — the double-spend case the official client SDK cannot even express, since it always re-signs. MPP-13 verifies that closing a channel actually settles on-chain and permanently ends the channel, so it is gated behind an explicit opt-in (--allow-destructive on the CLI, WASIT_ALLOW_DESTRUCTIVE=1 on the MCP server) and refuses to run unless the operator names the exact channel being closed.

Reporting. Every run distinguishes four outcomes rather than a simple pass/fail: PASS, FAIL (the target answered and didn't conform), SKIP (a check that legitimately didn't apply, e.g. a destructive check that wasn't opted into), and ERROR (no verdict at all, because the target was unreachable or misconfigured — never treated as a finding about the target). CLI exit codes follow the same distinction: 0 clean, 1 at least one real conformance failure, 2 at least one check produced no verdict.

Interfaces. Both the CLI and the MCP server run the identical check code in @wasit-dev/core, so the two can never disagree about the same target. MCP exposes four tools: wasit_x402_test, wasit_mpp_charge_test, wasit_mpp_channel_test (non-destructive channel checks, with MPP-13 reported as SKIP), and wasit_mpp_channel_test_with_close (registered only when destructive mode is explicitly enabled at server startup).

Known gaps going into the next release

Two items from the original SOW scope are still open. A completion-summary/demo video has not been started. Third-party validation — at least one service outside this project actually running Wasit against itself with explicit authorization — is in progress via outreach to teams building on x402/MPP (RouteDock, stellarpay, stellar-pay), with no confirmed run back yet as of this release.

Two defects were found in the upstream @stellar/mpp SDK while building the channel-mode checks and were filed against stellar/stellar-mpp-sdk: issue #66 (channel-mode rejections collapse to one generic error instead of the SDK's own precise error taxonomy) and issue #67 (feePayer.envelopeSigner names the wrong concept and produces [object Object] on a mismatched key). Both are documented in docs/findings/upstream-sdk.md.