Replace PostgreSQL + Redis with verifiable on-chain accounts. Same API key patterns, trustless enforcement.
| Property | Web2 | On-Chain |
|---|---|---|
| Key Storage | Operator's database | Public blockchain (hash only) |
| Permission Changes | Silent DB update | Signed transaction, publicly visible |
| Rate Limit Enforcement | Trust the operator | Verified by program logic |
| Usage Data | Mutable application logs | Immutable on-chain counter |
| Revocation | Can be silent | Transaction on public ledger |
| Audit Trail | Internal, mutable, deletable | On-chain, immutable, permanent |
| Rule Changes | Deploy new code silently | Program upgrades visible on-chain |
Validation uses simulateTransaction — it's completely free. No signature needed, no gas cost. The program checks: key exists, not revoked, not expired.
Real-time data from the deployed program on Solana devnet