Sats for Bots #3: Pay-Per-Token L402 and curl for Ark
Sats for Bots #3: Pay-Per-Token L402 and curl for Ark
Hey, welcome back. Here's what moved this week for agents that pay and get paid over Lightning. The full directory is at satsforbots.com.
Aperture v0.6.0: charge agents by the token
Lightning Labs shipped Aperture v0.6.0 on Nov 5, its first release since v0.5.0 in March. Aperture is the L402 reverse proxy that puts a Lightning paywall in front of any API, and this release adds metered pricing: one Lightning payment buys a bundle of tokens, and each request draws it down by actual usage. When a request would overdraw the bundle, Aperture issues a fresh 402 for the next one. It ships meterd, a reference price server, plus a pricesrpc interface for writing your own, and Lightning Labs says its lightmeter price server is built on this to sell LLM inference by the token.
The other big one: Aperture can now mint invoices from a Wavelength wallet through the wavelengthgateway setting, so a seller needs no lnd node, no channels and no inbound liquidity. Heads-up: the authorization hardening in this release refuses some input older versions accepted, so read the Upgrading section before you roll it out. (release notes · listing)
New in the directory: barkget
Second's barkget is curl for HTTP 402 paywalls. Point it at an L402 endpoint and it pays the Lightning invoice from your Bark wallet, then caches the token per host. It also speaks Ark 402 for bark-402 credit lines. It's a thin CLI on top of bark-mcp's library and shares its spend ledger, and the default cap is 1,000 sats per request (--max-cost). Install it from npm (Node 18.17+). Managed mode is signet-only for now. One note: Bark isn't a Lightning node. It runs on Ark, a separate Bitcoin layer run with Second's Ark server, and reaches Lightning through it. (launch post · listing)
New in the directory: Amazap
Amazap, from the Amboss team, is a remote MCP server where your agent pays per call in sats over L402. Its own tools are built to save tokens, like read_webpage for 5 sats and squeeze_log, which trims a noisy build log, for 10 sats. You can top up over Lightning, set spend limits, and failed calls get credited back. Verify your email and you get 50 sats of free starter credit while the offer lasts. Amazap also lists pay-per-call APIs from other directories. Some of those are USDC-only x402 listings, which satsforbots.com doesn't cover and you can't buy with sats. (listing)
Wavelength's built-in MCP server, on video
Lightning Labs posted a two-minute demo of Wavelength's built-in MCP server. You add it to your agent's config with one command, and then the agent can send and receive bitcoin over Lightning. Wavelength v0.2.1 also landed on Oct 31, with stronger transaction validation, better expiry monitoring and improved swap and exit recovery. (demo · v0.2.1 release · listing)
Release notes
- LND v0.21.6-beta (Oct 30): a security release. A Linux kernel bug, CVE-2026-98432, has a demonstrated remote exploit that needs an MPTCP listener, and this release turns MPTCP listeners off in lnd by default. It's a mitigation, not a fix: also disable MPTCP on the host and install a patched kernel when your distro ships one. Windows and macOS aren't affected. (release)
- CDK v0.18.3 (Oct 29): Cashu Dev Kit fixes FFI teardown panics and hardens SQL transaction cleanup. A lost SQLite in-memory database now returns an error instead of being silently swapped for an empty one. (release)
Around the network
- L402 Lab: Lightning Enable launched L402 Lab, a browser playground for the full L402 flow. Request a page, get a 402 and a price, pay a few sats and try again, with a protocol inspector showing every header. (announcement)
- NutNovember is on. Cashu's month-long hackathon started Nov 1. (post)
- Channel stats: Amboss counted 1,567 public Lightning channels opened from Oct 26 to Nov 1, 7% more than the week before, averaging 0.45 BTC each. (post)
- Alby Buzz #58 rounds up Alby's week, including an early proof of concept called mesh-nwc-wallet. (post)
That's it for this week. Built something agents can pay for in sats? Reply and tell me about it.
Enjoying this? Subscribe free at satsforbots.com/newsletter
Stack sats, ship bots.
Sats for Bots