web4-automaton
A platform for handling cryptocurrency payments for multiple small APIs on a single Mac Mini.
What does it do?
The operator creates an unpaid invoice and monitors incoming USDC, USDT, or ETH transfers to a receiving address. A monitoring process periodically checks recent Base and Ethereum blocks and matches deposits to open orders. Once payment is confirmed, it updates the relevant API key's credits. Before processing a product request, it checks whether the balance covers the cost. The documentation also describes running Node.js processes and a SQLite database on a single Mac Mini and providing a public ledger.
Key features
- Monitor USDC, USDT, and ETH deposits on Base and Ethereum
- Match deposits to open invoices
- Credit an API key after payment confirmation
- Block unpaid requests by checking balances before processing
- Provide a public ledger endpoint