Ship trustless airdrops with zero-knowledge proofs
No Merkle trees. No backend. Publish your allocation list as a SQL table, deploy a claim contract, and let Proof of SQL verify every payout onchain. Claimants get cryptographic proof that their reward was read from your data. Not spoofable, fully auditable.
How It Works
Traditional airdrops rely on Merkle trees or centralized APIs to validate claims. This approach replaces both with a verifiable SQL query. Your allocation data is the source of truth, and Proof of SQL is the verification layer.
Upload your allocation CSV and write it to an onchain SXT Chain table. This becomes the canonical, publicly auditable source of who gets what.
We generate for you an airdrop claim contract. It can be used on any chain supported by the SXT Network, and it can use as the airdrop reward token any ERC-20 token you want to configure.
A claimant calls claim() on your contract. It sends the query to SXT, which executes the SQL and returns a zero-knowledge proof that the result is correct.
The callback delivers the proven allocation amount. If valid and funded, the reward token is transferred to the claimant.
Why Proof of SQL?
Most airdrops use Merkle trees: generate a tree off-chain, publish the root, and let users submit proofs. It works, but it has real limitations. Here's how a Proof of SQL airdrop compares.
| Merkle Tree | Proof of SQL | |
|---|---|---|
| Allocation data | Off-chain JSON/CSV, root published onchain | Full table stored on SXT Chain, queryable by anyone |
| Auditability | Requires trusting the tree generator | Fully transparent. SQL table is public |
| Updatable | New root = new contract or migration | Insert rows to the same table, same contract |
| Claim UX | User must obtain their proof from an API | User just calls claim(). No proof needed |
| Backend | API server required to serve proofs | No backend. Contract + SXT handle everything |
| Verification | Merkle inclusion proof (hash chain) | Zero-knowledge proof of correct SQL execution |
Connect your wallet to complete this tutorial
Step 1: Publish Your Allocation Table
Paste or upload a CSV with address,amount columns. Each row is validated, totals are computed, and the data is written to AIRDROP_YOUR_ADDRESS.AIRDROP_LIST on SXT Chain.
Full: AIRDROP_YOUR_ADDRESS
| Address | Amount |
|---|---|
| 0x1111111111111111111111111111111111111111 | 250 |
| 0x2222222222222222222222222222222222222222 | 1200.5 |
Step 2: Choose Your Reward Token
Pick the ERC-20 token claimants will receive. Use an existing token for a real airdrop, or deploy a demo token to test the full flow end-to-end.
Step 3: Deploy the Claim Contract
Deploy a self-contained claim contract with your reward token. The proof plan for your SQL query is compiled automatically and embedded in the contract.
Step 4: Fund and Share
Transfer reward tokens into the contract and share the claim URL with your community. The suggested amount covers your full allocation. Increase it for reserves if needed.
Important Notes
- Each claim costs the claimant 100 SXT as a query payment deposit. This covers the Proof of SQL execution and verification. Excess is refunded.
- Permit flow: available on this chain. Claimants sign once instead of approving + claiming.
- The deployed contract is immutable. Double-check your allocation table, reward token, and query plan before deploying.