KasGate, a pay-per-call gateway for web APIs priced in KAS, switched on payment channels on Kaspa’s testnet-10 on Thursday, Dec. 3. A buyer locks KAS in a covenant once and then pays for each call with a signed voucher instead of a new on-chain transaction. The project announced the feature on X at 9:55 AM ET, alongside KasRelay, a directory that lets node operators charge for access to their Kaspa nodes.

Both run on testnet only, with free test coins. KasGate has not announced a mainnet date and does not mention an audit.

How the channels work

Kaspa is a proof-of-work BlockDAG that produces about 10 blocks per second. Since the Toccata hard fork in June, it supports covenants, coins that carry rules about how they can be spent next. KasGate’s channel is a covenant written in SilverScript, one of Kaspa’s contract languages.

“A buyer locks KAS in a covenant once, then pays per call with a signed voucher instead of an on-chain transaction for every call,” @KasGateHQ wrote. “The merchant closes and gets paid on-chain. The buyer can take back unused funds after a timeout.”

The docs fill in the rules. The minimum deposit is 5 KAS, and neither KasGate nor the seller holds it. Each voucher raises the running total by exactly one call’s price, and the next call waits until the previous voucher is accepted.

Only the seller can close the channel, using the seller’s own key. Closing pays the latest total minus a 1.5% fee to KasGate, with a minimum of 0.2 KAS, and returns the rest to the buyer. If the seller does not close within about a day, the buyer can reclaim the whole deposit.

What the testnet run showed

KasGate’s GitHub repository, MIT-licensed and created Nov. 23, includes a research write-up of an on-chain test run on Dec. 3. The project reports that a close with the exact fee and three outputs was accepted. Closes with a missing fee output, a fee one sompi short (the smallest unit of KAS) or a wrong seller signature were rejected, as was a refund before the timeout.

The test used 40 test KAS and cost 0.6225 test KAS in fees, according to the write-up. KaspaNews could not check the listed testnet transactions because the public testnet-10 API returned errors on Friday morning. The results file is the project’s own report.

The same write-up is candid about limits. An earlier local harness could not exercise the transaction-signature checks, a gap the team says the on-chain run closed. It also says the research tests “do not collect against current main,” meaning they no longer run against the shipped code. More than a dozen commits on channels and receipts landed in the repository between 1:17 PM and 3:23 PM ET Thursday, with another at 2:46 AM ET Friday.

Why it matters and what to watch

On Kaspa today, every paid call through KasGate is a separate transaction. Channels cut that to two on-chain transactions per buyer and seller, one to open and one to close, which matters for AI agents and apps that make many tiny calls. The same covenant pattern could serve other pay-as-you-go uses, though it has not been tested outside KasGate.

There are trade-offs. The buyer’s wallet holds back the close fee plus about 0.22 KAS that calls cannot spend, and the docs say part of it may not come back. Sellers must close before the deadline or lose the payments. Calls are routed through KasGate’s hosted gateway, which sees the traffic even though it does not hold the funds.

This is a single-team project with a small footprint so far. The announcement drew four likes and about 118 views by Friday morning. KasGate’s earlier testnet launch on Nov. 27 is covered here.

Watch for a mainnet date and an outside review of the channel covenant. Also watch for the first KasRelay node listings, and whether other Kaspa payment projects reuse the voucher design.

Sources