Security
How ChainPay protects deposits, keys and your integration.
Keys and signing
Private keys are not held by the public API. Signing is done by a separate, isolated signing service that derives addresses and signs sweep transactions; the API host talks to it over a private network and cannot read the key material. Deposit addresses are derived per client and per reference from an HD wallet.
Infrastructure
The API is served through Cloudflare, which terminates TLS. The application container is bound to the loopback interface and reached through a Cloudflare Tunnel, so no application port is exposed to the internet. Plain HTTP is rejected.
Chain events
Incoming transactions are detected by scanners and by signed provider webhooks. Alchemy webhook requests are verified with an HMAC signature before they are processed, and deposits are confirmed on-chain before funds are forwarded.
Your side of the integration
- Webhooks are not signed today. Put a long random secret in your
callbackUrlquery string, verify it on every request, and confirm important payments with the status API before releasing goods. - Make your webhook handler idempotent: delivery is at-least-once.
- Keep your API key and wallet access tokens on the server side only. Rotate them if you suspect exposure.
- Double-check
forwardAddress: transfers are irreversible. - Do not put personal data in
externalReferenceorcallbackUrl.
Reporting a vulnerability
We do not have a public contact channel yet. When one is available, it will be published on this page.