
Stablecoin Checkout
Node.js App - USDC Payments With a Merchant Console

AI tools were used to assist with parts of the code, documentation and graphics of this item. The author directed, reviewed and tested every file.
What it does
- Atomic wallet-pay split on Solana
- Atomic wallet-pay split on Base
- Exchange pay matched by a unique amount
- Prepaid fee credit for exchange payments
- Four chains and two stablecoins, addresses verified at the issuer
- Invoice status machine
- HMAC-signed webhooks with retries and dead letter
- Append-only fee-credit ledger
You need
- Node.js 20.6 or newer (Node 22 for the Solidity contract tooling) and pnpm 10
- A server you control for the API and the SQLite file - shared hosting is not enough
- Your own Solana RPC endpoint and, for Base, your own EVM RPC endpoint. No key is shipped with the source
- Your own wallet address to receive the operator fee, and one wallet address per merchant
- To deploy MikodesPayRouter yourself on Base before Base wallet pay can be switched on