x402-coffer Installation ๐ก Beta
git clone https://git.rugmunch.io/RugMunchMedia/x402-coffer.git
cd x402-coffer
cp .env.example .env # RPC URLs, settlement wallet key (from secret manager)
docker compose up -d --build
Endpointsโ
| Path | Description |
|---|---|
POST /verify | Validate a payment payload |
POST /settle | Verify + submit on-chain, return receipt |
GET /supported | Networks + assets + limits |
GET /healthz | RPC connectivity + wallet status |
Point a resource server at your cofferโ
X402_FACILITATOR_URL=https://coffer.example.com
Settlement wallet hygiene
The settlement key is hot money. Fund it with working capital only; sweep accumulated USDC to cold storage on a schedule. Never commit the key โ inject from a secret manager at container start.