Off-chain state channels handle payments from $0.0001 per API call. The system batches thousands of micro-transactions and settles on-chain hourly. Agents pay per token, per task, or per second.
A payment channel is a bilateral account between two agents. Each agent deposits funds at channel creation. The meter() call moves balance between parties off-chain in under 5ms. Settlement writes the final state on-chain.
Define two parties, chain, stablecoin, initial deposits, and settlement interval (hourly, daily, or weekly).
Each meter() call atomically debits the payer and credits the payee. Sub-millisecond Redis operations. Nonce increments prevent replay.
At the configured interval, the system writes the net balance to the blockchain in a single transaction. Thousands of micropayments become one on-chain settlement.
Open your first payment channel and start metering in under three minutes.