liqproof 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +536 -2
- package/bugs/README.md +144 -0
- package/bugs/coin-gecko-liquidity-report.md +283 -0
- package/bugs/collect-ds-aggregate.mjs +213 -0
- package/bugs/collect-evidence.mjs +458 -0
- package/bugs/collect-gt-aggregate.mjs +215 -0
- package/bugs/collect-raw-rpc.mjs +165 -0
- package/bugs/collect-sweep-context.mjs +162 -0
- package/bugs/dexscreener-fake-liquidity-report.md +310 -0
- package/bugs/evidence/aggregator-liquidity-claims.json +648 -0
- package/bugs/evidence/aggregator-liquidity-claims.md +103 -0
- package/bugs/evidence/bat-native-pool-drained.json +136 -0
- package/bugs/evidence/bat-native-pool-drained.md +51 -0
- package/bugs/evidence/chz-impersonator-pool-drained.json +136 -0
- package/bugs/evidence/chz-impersonator-pool-drained.md +51 -0
- package/bugs/evidence/gt-stale-reserve-after-drain.json +141 -0
- package/bugs/evidence/gt-stale-reserve-after-drain.md +31 -0
- package/bugs/evidence/raw-rpc-transcript.json +683 -0
- package/bugs/evidence/raw-rpc-transcript.md +308 -0
- package/bugs/evidence/sweep-context.json +325 -0
- package/bugs/evidence/sweep-context.md +55 -0
- package/bugs/evidence/verified-aggregate.json +526 -0
- package/bugs/evidence/verified-aggregate.md +24 -0
- package/bugs/evidence/verified-ds-liquidity-usd.json +1197 -0
- package/bugs/evidence/verified-ds-liquidity-usd.md +250 -0
- package/bugs/evidence/verified-gt-reserve-in-usd.json +1002 -0
- package/bugs/evidence/verified-gt-reserve-in-usd.md +218 -0
- package/bugs/fix-bundle-titles.mjs +72 -0
- package/bugs/geckoterminal-stale-reserve-after-drain.md +137 -0
- package/data/dataset-summary.md +103 -0
- package/data/impersonators.json +12888 -0
- package/data/verified-impersonators.json +725 -0
- package/data/wallets.json +23 -0
- package/dist/base58.js +70 -0
- package/dist/base58.js.map +1 -0
- package/dist/canonical.js +372 -0
- package/dist/canonical.js.map +1 -0
- package/dist/cli.js +830 -0
- package/dist/cli.js.map +1 -0
- package/dist/curve.js +255 -0
- package/dist/curve.js.map +1 -0
- package/dist/dashboard.js +485 -0
- package/dist/dashboard.js.map +1 -0
- package/dist/keccak.js +197 -0
- package/dist/keccak.js.map +1 -0
- package/dist/mcp.js +604 -0
- package/dist/mcp.js.map +1 -0
- package/dist/operator.js +180 -0
- package/dist/operator.js.map +1 -0
- package/dist/pda.js +86 -0
- package/dist/pda.js.map +1 -0
- package/dist/receipt.js +897 -0
- package/dist/receipt.js.map +1 -0
- package/dist/render.js +335 -0
- package/dist/render.js.map +1 -0
- package/dist/rpc.js +377 -0
- package/dist/rpc.js.map +1 -0
- package/dist/sources.js +599 -0
- package/dist/sources.js.map +1 -0
- package/dist/store.js +330 -0
- package/dist/store.js.map +1 -0
- package/dist/tokenmeta.js +424 -0
- package/dist/tokenmeta.js.map +1 -0
- package/dist/util.js +273 -0
- package/dist/util.js.map +1 -0
- package/dist/vaults.js +510 -0
- package/dist/vaults.js.map +1 -0
- package/dist/wallet.js +404 -0
- package/dist/wallet.js.map +1 -0
- package/dist/warnings.js +41 -0
- package/dist/warnings.js.map +1 -0
- package/dist/worker.js +857 -0
- package/dist/worker.js.map +1 -0
- package/dist/x402.js +549 -0
- package/dist/x402.js.map +1 -0
- package/docs/HACKATHON-SUBMISSION.md +264 -0
- package/docs/liqproof-plan.md +221 -0
- package/docs/llms.txt +32 -0
- package/docs/mcp-registry.md +165 -0
- package/docs/screenshots/01-dashboard.png +0 -0
- package/docs/screenshots/02-receipt-drained.png +0 -0
- package/docs/screenshots/03-receipt-impersonator.png +0 -0
- package/docs/screenshots/04-receipt-canonical.png +0 -0
- package/docs/x402-pricing.md +171 -0
- package/docs/zero-xyz.md +250 -0
- package/out/6eftxVbSAunVEoxUWdGhPdxg5UdsJ8Wkwy5w5YFuxouw.json +1171 -0
- package/out/6eftxVbSAunVEoxUWdGhPdxg5UdsJ8Wkwy5w5YFuxouw.md +52 -0
- package/out/6eftxVbSAunVEoxUWdGhPdxg5UdsJ8Wkwy5w5YFuxouw.svg +25 -0
- package/out/BTNiaZb6HaEFWeEtND4SXtZ7T6mgtDwSryHTAj6PuPyp.json +3975 -0
- package/out/BTNiaZb6HaEFWeEtND4SXtZ7T6mgtDwSryHTAj6PuPyp.md +90 -0
- package/out/BTNiaZb6HaEFWeEtND4SXtZ7T6mgtDwSryHTAj6PuPyp.svg +25 -0
- package/out/ENGkoidj2jNs73A7GZuseVmnkRg6EVF9tDtViwPz8o85.json +1446 -0
- package/out/ENGkoidj2jNs73A7GZuseVmnkRg6EVF9tDtViwPz8o85.md +66 -0
- package/out/ENGkoidj2jNs73A7GZuseVmnkRg6EVF9tDtViwPz8o85.svg +25 -0
- package/out/dataset.csv +67 -0
- package/out/impersonation-table.md +156 -0
- package/out/index.html +1179 -0
- package/package.json +78 -4
- package/scripts/assert-no-canonical-accusations.mjs +193 -0
- package/scripts/backfill.mjs +1063 -0
- package/scripts/bundle-evidence.mjs +237 -0
- package/scripts/bundle-stale-claim.mjs +417 -0
- package/scripts/capture-bch-evidence.mjs +58 -0
- package/scripts/check-orientation-fix.mjs +40 -0
- package/scripts/check-wallet.mjs +54 -0
- package/scripts/daily-refresh.mjs +451 -0
- package/scripts/decode-clmm-vaults.mjs +180 -0
- package/scripts/falsifiability.mjs +263 -0
- package/scripts/impersonator-mining.mjs +156 -0
- package/scripts/inspect-matches.mjs +73 -0
- package/scripts/operator-sweep.mjs +252 -0
- package/scripts/publish-release.mjs +248 -0
- package/scripts/refresh-store.mjs +78 -0
- package/scripts/survival-miner.mjs +951 -0
- package/scripts/test-keccak.mjs +103 -0
- package/scripts/verify-bch-1p95b.mjs +124 -0
- package/scripts/verify-clmm-1p95b.mjs +127 -0
- package/scripts/verify-clmm-control.mjs +84 -0
- package/scripts/verify-impersonators.mjs +138 -0
- package/scripts/verify-raw.mjs +110 -0
- package/scripts/verify-raw2.mjs +99 -0
- package/server.json +34 -0
- package/src/base58.ts +68 -0
- package/src/canonical.ts +447 -0
- package/src/cli.ts +941 -0
- package/src/curve.ts +349 -0
- package/src/dashboard.ts +504 -0
- package/src/keccak.ts +228 -0
- package/src/mcp.ts +735 -0
- package/src/operator.ts +219 -0
- package/src/receipt.ts +1219 -0
- package/src/render.ts +396 -0
- package/src/rpc.ts +435 -0
- package/src/sources.ts +714 -0
- package/src/store.ts +428 -0
- package/src/tokenmeta.ts +460 -0
- package/src/util.ts +276 -0
- package/src/vaults.ts +574 -0
- package/src/wallet.ts +459 -0
- package/src/warnings.ts +40 -0
- package/src/worker.ts +1086 -0
- package/src/x402.ts +717 -0
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
# Long Tail Hackathon - Submission Packet
|
|
2
|
+
|
|
3
|
+
Everything the submission form asks for, written once, in English, ready to
|
|
4
|
+
copy. Every number here is measured by the engine and reproducible from the
|
|
5
|
+
repository. Nothing is typed by hand.
|
|
6
|
+
|
|
7
|
+
**Deadline:** 15 December 2026, 23:59 UTC. **Results:** 22 December 2026.
|
|
8
|
+
**Submission:** https://earn.superteam.fun/ (Superteam Earn) + the CoinGecko API role.
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## 1. Project identity
|
|
13
|
+
|
|
14
|
+
| Field | Value |
|
|
15
|
+
|---|---|
|
|
16
|
+
| Project name | **LIQPROOF** |
|
|
17
|
+
| One-liner | **On-chain liquidity receipts: every liquidity claim is checked against the chain, and the evidence ships with the verdict.** |
|
|
18
|
+
| Tagline | "The chain doesn't lie. We keep receipts." |
|
|
19
|
+
| Repo | https://github.com/aihbusiness77-pixel/liqproof |
|
|
20
|
+
| Live dashboard | https://aihbusiness77-pixel.github.io/liqproof/ |
|
|
21
|
+
| npm package | `liqproof` (publishing) |
|
|
22
|
+
| Demo video | https://github.com/aihbusiness77-pixel/liqproof/releases/download/v0.1.0/liqproof-demo.mp4 (2:56, with narration) |
|
|
23
|
+
| Submitter | **Ahmed Ibrahim Hassan** |
|
|
24
|
+
| Contact | aih.business77@gmail.com |
|
|
25
|
+
| X handle | _liqproof (to be confirmed before submitting) |
|
|
26
|
+
| Budget | $0. The whole product runs on free public endpoints. No paid API, no gas, no server. |
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## 2. Track
|
|
31
|
+
|
|
32
|
+
**ONE track: Analytics, Data & Media.**
|
|
33
|
+
Submission page: https://superteam.fun/earn/listing/long-tail-analytics-data-and-media-with-coingecko-data/
|
|
34
|
+
|
|
35
|
+
> **Why only one track.** The rules are explicit: *"One project, one track. A
|
|
36
|
+
> team may enter several tracks with different projects and win once per
|
|
37
|
+
> track"*, and an entry is not considered for prizes if it is *"one project
|
|
38
|
+
> entered in several tracks"*. LIQPROOF is one project - the MCP server is the
|
|
39
|
+
> same engine behind a different interface, not a different project - so it
|
|
40
|
+
> goes into **Analytics** and only Analytics.
|
|
41
|
+
>
|
|
42
|
+
> Analytics is also the better fit: the track brief is literally *"launchpad
|
|
43
|
+
> survival study... show how many still have real liquidity... as a live
|
|
44
|
+
> dashboard"*, and LIQPROOF answers it **on-chain** instead of from claimed
|
|
45
|
+
> numbers. The MCP server is still in the repository and in the demo video,
|
|
46
|
+
> so an AI-Agents judge sees it too.
|
|
47
|
+
|
|
48
|
+
**Prizes in this track:**
|
|
49
|
+
|
|
50
|
+
| Place | Cash | Plus | Total value |
|
|
51
|
+
|---|---:|---|---:|
|
|
52
|
+
| 1st | **$3,000 USDC** | 1-year CoinGecko API Lite plan | $8,988 |
|
|
53
|
+
| 2nd | **$2,000 USDC** | 1-year CoinGecko API Lite plan | $7,988 |
|
|
54
|
+
| 3rd | **$1,250 USDC** | 1-year CoinGecko API Lite plan | $7,238 |
|
|
55
|
+
| 4th | - | 1-year Analyst plan (not cash) | $1,548 |
|
|
56
|
+
| 5th | - | 1-year Analyst plan (not cash) | $1,548 |
|
|
57
|
+
|
|
58
|
+
**What the judges look for, and where LIQPROOF answers it:**
|
|
59
|
+
|
|
60
|
+
| Criterion | Where it is answered |
|
|
61
|
+
|---|---|
|
|
62
|
+
| Usefulness - a real problem for a specific user | A trader who sees a liquidity badge and needs to know whether the money is there. One command, under 10 seconds, no account. |
|
|
63
|
+
| CoinGecko data at work | The CoinGecko data **is** the thing being tested. Section 4 below. |
|
|
64
|
+
| Execution - a judge can run it from the README | `npm install && npm run build && node dist/cli.js receipt <mint>` - plus a live dashboard and an npm package. |
|
|
65
|
+
| Solana integration | The vault balances, the transaction history and the token metadata are read from Solana mainnet. Section 5 below. |
|
|
66
|
+
| Design and demo | A self-contained dashboard, four screenshots, and a 2:56 demo video. |
|
|
67
|
+
|
|
68
|
+
**Rules to respect (all already met):**
|
|
69
|
+
- No leaked API keys - the key is optional, `.env.example` is empty, and
|
|
70
|
+
`.env` is gitignored.
|
|
71
|
+
- No fabricated results - every number in the README and the dataset is
|
|
72
|
+
generated by the engine, and the evidence bundles are regenerable.
|
|
73
|
+
- CoinGecko attribution wherever the data is shown - the dashboard footer and
|
|
74
|
+
the README both carry the exact wording the attribution guide asks for.
|
|
75
|
+
- The project must be built during the hackathon - see the "Built during the
|
|
76
|
+
Long Tail hackathon" section at the top of the README.
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
## 3. Description (paste-ready)
|
|
81
|
+
|
|
82
|
+
> LIQPROOF turns market liquidity claims into on-chain receipts.
|
|
83
|
+
>
|
|
84
|
+
> Every token listing shows a liquidity number. LIQPROOF reads the same pool
|
|
85
|
+
> directly from Solana mainnet - the quote vault's token balances, the pool's
|
|
86
|
+
> creation transaction, every deposit and withdrawal - and publishes a
|
|
87
|
+
> **receipt**: what the market claimed, what is actually deposited, the
|
|
88
|
+
> deposit coverage, the reconstructed liquidity timeline, the transaction that
|
|
89
|
+
> took the money, and links to every piece of evidence.
|
|
90
|
+
>
|
|
91
|
+
> The headline: across the 16 impersonator mints LIQPROOF has verified on
|
|
92
|
+
> chain, the aggregators publish **$35,798,963,104** of liquidity and the pool
|
|
93
|
+
> vaults hold **$165.77**. One pool advertised **$1.91 billion** while its
|
|
94
|
+
> vault held **$0.000001**, drained in a single transaction 27 minutes after
|
|
95
|
+
> the pool was created.
|
|
96
|
+
>
|
|
97
|
+
> What makes it different: LIQPROOF is not a score, it is evidence. A score
|
|
98
|
+
> cannot be checked; a receipt can - every number links to a transaction. And
|
|
99
|
+
> it is not a scanner that flags everything: a labelled harness catches 4 out
|
|
100
|
+
> of 4 traps with **0 false positives on 12 clean cases**, and a canonical
|
|
101
|
+
> token can never be accused - enforced in the engine, at store time, and
|
|
102
|
+
> asserted in CI on every published row.
|
|
103
|
+
>
|
|
104
|
+
> Everything is read-only and free: no signing, no gas, no paid API, no
|
|
105
|
+
> server. The CLI, the dashboard and the MCP server all run locally or as
|
|
106
|
+
> static files.
|
|
107
|
+
|
|
108
|
+
### Shorter version (if the field is small)
|
|
109
|
+
|
|
110
|
+
> LIQPROOF issues on-chain liquidity receipts: it reads a Solana pool's vault
|
|
111
|
+
> balances and transaction history directly from mainnet and publishes what
|
|
112
|
+
> the market claimed against what is actually deposited, with the drain
|
|
113
|
+
> transaction and the evidence links attached. 16 verified impersonators
|
|
114
|
+
> advertise $35.8 billion and hold $165.77. Read-only, zero cost, zero
|
|
115
|
+
> dependencies. A labelled harness shows 4/4 traps caught and 0/12 false
|
|
116
|
+
> positives, and CI blocks any accusation against a real token.
|
|
117
|
+
|
|
118
|
+
---
|
|
119
|
+
|
|
120
|
+
## 4. How the CoinGecko API is used
|
|
121
|
+
|
|
122
|
+
> LIQPROOF is a cross-examination of CoinGecko and GeckoTerminal data. The
|
|
123
|
+
> market publishes a liquidity claim; LIQPROOF reads the same pool on-chain
|
|
124
|
+
> and publishes a receipt that says whether the claim is true. The CoinGecko
|
|
125
|
+
> data is the **accusation being tested**, not decoration.
|
|
126
|
+
>
|
|
127
|
+
> | CoinGecko product | Endpoint | Use |
|
|
128
|
+
> |---|---|---|
|
|
129
|
+
> | GeckoTerminal v2 | `/networks/solana/tokens/{mint}/pools` | the claim side of every receipt: `reserve_in_usd`, token price, pool address, DEX, creation time |
|
|
130
|
+
> | GeckoTerminal v2 | `/networks/solana/pools`, `/trending_pools`, `/new_pools` | the discovery feeds the scanner mines |
|
|
131
|
+
> | CoinGecko `/coins/list?include_platform=true` | the platform map | the canonical index: which mint is the real one for a name (7,000+ mints). This is what makes a false accusation impossible |
|
|
132
|
+
> | CoinGecko `/coins/markets` | the Solana market cap list | the universe `scan --feed=universe` sweeps, ranked by suspicion |
|
|
133
|
+
> | CoinGecko `/simple/price` | SOL/USD and token/USD spot | the USD valuation of vault balances read on-chain, so coverage and divergence have a price |
|
|
134
|
+
>
|
|
135
|
+
> The keyless public endpoints are enough. `COINGECKO_API_KEY` is optional and
|
|
136
|
+
> only moves the calls to the Pro host.
|
|
137
|
+
|
|
138
|
+
---
|
|
139
|
+
|
|
140
|
+
## 5. How Solana is used
|
|
141
|
+
|
|
142
|
+
> Solana is not a payment rail in LIQPROOF. It is the **source of truth**.
|
|
143
|
+
>
|
|
144
|
+
> | Solana element | Use |
|
|
145
|
+
> |---|---|
|
|
146
|
+
> | SPL token vaults | the pool vault balance is read directly from the chain - the "real" side of every receipt, against the aggregator's "claimed" side |
|
|
147
|
+
> | Transaction history | `getSignaturesForAddress` + `getTransaction` reconstruct every deposit and withdrawal, so the drain event has a timestamp, a slot and a signature |
|
|
148
|
+
> | Metaplex metadata accounts | the token's own on-chain name and symbol, read from its PDA - the one identity statement that cannot be edited without touching the chain |
|
|
149
|
+
> | Mint accounts | supply and decimals, read from the mint account itself |
|
|
150
|
+
> | `node:sqlite` (Node 22, built in) | the local store of receipts, snapshots and events - zero native dependencies |
|
|
151
|
+
>
|
|
152
|
+
> Solana is also the deployment target for the x402 paid endpoint: the
|
|
153
|
+
> receiving address is a Solana address and the facilitator settles in USDC on
|
|
154
|
+
> Solana mainnet.
|
|
155
|
+
|
|
156
|
+
---
|
|
157
|
+
|
|
158
|
+
## 6. What was built
|
|
159
|
+
|
|
160
|
+
| Piece | State |
|
|
161
|
+
|---|---|
|
|
162
|
+
| Receipt engine (claimed vs deposited, coverage, self-denominated liquidity, price impact, canonical resolution, timeline, flags, evidence links) | done, 19 TypeScript source files |
|
|
163
|
+
| CLI, 12 commands | done (`receipt`, `timeline`, `scan`, `export`, `survival`, `mcp`, `serve`, `x402`, `verify`, `wallet`, `doctor`, `x402 --selftest`) |
|
|
164
|
+
| Store (`node:sqlite`) | done |
|
|
165
|
+
| Falsifiability harness | done - 4 traps caught, 0/12 false positives, 12 clean passed, 12 real projects protected |
|
|
166
|
+
| Canonical-protection guard (engine gate + store guard + CI assertion) | done, shipped |
|
|
167
|
+
| MCP server (stdio, 4 tools) | done |
|
|
168
|
+
| Dataset | 66 audited tokens published as CSV |
|
|
169
|
+
| Dashboard (self-contained HTML, GitHub Pages) | done, live |
|
|
170
|
+
| Bug reports against aggregator APIs | 3 published, with machine-readable evidence bundles |
|
|
171
|
+
| Demo video | 2:56, rendered from real captured CLI output |
|
|
172
|
+
|
|
173
|
+
---
|
|
174
|
+
|
|
175
|
+
## 7. The evidence (paste-ready numbers)
|
|
176
|
+
|
|
177
|
+
**The 16 verified impersonators:**
|
|
178
|
+
|
|
179
|
+
| | |
|
|
180
|
+
|---|---|
|
|
181
|
+
| Advertised by aggregators | **$35,798,963,104** |
|
|
182
|
+
| Actually deposited in the pool vaults | **$165.77** |
|
|
183
|
+
| Overstatement | **215,950,297x** |
|
|
184
|
+
| Verdicts | **16/16 FAKE_LIQUIDITY** |
|
|
185
|
+
|
|
186
|
+
**The cleanest single reproduction:**
|
|
187
|
+
|
|
188
|
+
| | |
|
|
189
|
+
|---|---|
|
|
190
|
+
| Pool | `CEvMnd2b79GFzsxSvJntvBZyjwJvrEaXbEfUURkyHg4f` (Raydium CLMM) |
|
|
191
|
+
| Created | 2026-12-04 08:58:05 UTC |
|
|
192
|
+
| Drain transaction | `4b2SgzpTcPaTNguxWMFH6aUAD14NJq78muypWbf46Rk3Rre6aHAAs37cqUgZQHpLhC7E45iTuLyvCU49LfMEhUMj` |
|
|
193
|
+
| Drained at | 2026-12-04 09:25:29 UTC - **27.4 minutes** later |
|
|
194
|
+
| GeckoTerminal says | ~$1.91 billion |
|
|
195
|
+
| DexScreener says (same pool) | $0.19 |
|
|
196
|
+
| The chain says | **$0.000001 USDT** |
|
|
197
|
+
|
|
198
|
+
**The sweep:**
|
|
199
|
+
|
|
200
|
+
| Stage | Count |
|
|
201
|
+
|---|---|
|
|
202
|
+
| Universe (CoinGecko platform map + DexScreener) | 9,053 mints |
|
|
203
|
+
| With readable on-chain metadata | 4,950 |
|
|
204
|
+
| Creator clusters | 212 |
|
|
205
|
+
| Name collisions | 191 |
|
|
206
|
+
| Confirmed impersonations after the filters | **119** |
|
|
207
|
+
| Ticker-only observations (never called fraud) | 72 |
|
|
208
|
+
| Top 16 re-verified on-chain | **16/16 FAKE_LIQUIDITY** |
|
|
209
|
+
|
|
210
|
+
---
|
|
211
|
+
|
|
212
|
+
## 8. Pre-submission checklist
|
|
213
|
+
|
|
214
|
+
**Deadlines:** submit by **15 December 2026, 23:59 UTC** (results 22 December,
|
|
215
|
+
12:00 UTC). The complimentary Analyst access form closes earlier, on
|
|
216
|
+
**12 December, 23:59 UTC**.
|
|
217
|
+
|
|
218
|
+
- [x] Public GitHub repository - https://github.com/aihbusiness77-pixel/liqproof
|
|
219
|
+
- [x] Demo video under 3 minutes - `demo/liqproof-demo.mp4`, 2:56, with narration
|
|
220
|
+
- [x] README with setup steps, the full story, the harness table and the demo script
|
|
221
|
+
- [x] README describes **what was built from 1 December onwards** (eligibility rule)
|
|
222
|
+
- [x] `.env.example` with no real keys
|
|
223
|
+
- [x] "How CoinGecko API is used" section (required by the listing)
|
|
224
|
+
- [x] "How Solana is used" section (required by the listing)
|
|
225
|
+
- [x] Two to four screenshots or GIFs in the README (we have four)
|
|
226
|
+
- [x] CoinGecko attribution wherever the data is shown
|
|
227
|
+
- [x] English only, no mojibake, CI green
|
|
228
|
+
- [x] Canonical-protection guard shipped and asserted in CI
|
|
229
|
+
- [x] Public dashboard live - https://aihbusiness77-pixel.github.io/liqproof/
|
|
230
|
+
- [x] A link to the live app/demo (the dashboard above)
|
|
231
|
+
- [ ] **Claim the complimentary Analyst access** - https://tally.so/r/4arjxO -
|
|
232
|
+
**by 12 December**, free until 31 Dec (500k calls, 500 RPM, deeper
|
|
233
|
+
endpoints, WebSocket). It needs the CoinGecko account email, the project
|
|
234
|
+
name "LIQPROOF" and the repo URL.
|
|
235
|
+
- [ ] **Upload the demo video to YouTube (unlisted), Loom or X** - the listing
|
|
236
|
+
asks for one of those three, so the GitHub release asset is a fallback,
|
|
237
|
+
not the answer. File:
|
|
238
|
+
`C:\Users\artin\Desktop\bat\demo\liqproof-demo.mp4`
|
|
239
|
+
- [ ] Superteam Earn account, then "Submit Now" on the Analytics listing
|
|
240
|
+
- [ ] The team's X names (the form asks for them) and a launch post tagging
|
|
241
|
+
@coingecko_api and @superteam
|
|
242
|
+
- [ ] npm package published, then the npm link added to the submission
|
|
243
|
+
(it makes the entry installable in one command: `npx -y liqproof`)
|
|
244
|
+
|
|
245
|
+
---
|
|
246
|
+
|
|
247
|
+
## 9. The 3-minute demo, scene by scene
|
|
248
|
+
|
|
249
|
+
The rendered video is built from **real captured CLI output**, not a mock-up.
|
|
250
|
+
The storyboard is `demo/storyboard.json`; the captured output is in
|
|
251
|
+
`demo/raw/`; the renderer is `demo/render.py`.
|
|
252
|
+
|
|
253
|
+
| # | Scene | What the judge sees |
|
|
254
|
+
|---|---|---|
|
|
255
|
+
| 1 | Title card | LIQPROOF, the promise, read-only and zero cost |
|
|
256
|
+
| 2 | The trap | `liqproof receipt ENGkoidj...` - a pool advertising $1.68B holding $9.93e-7, with the drain signature attached |
|
|
257
|
+
| 3 | The timeline | `liqproof timeline BTNiaZb6...` - the drain rebuilt from transaction metadata: timestamp, slot, delta, signature |
|
|
258
|
+
| 4 | Control: JUP | the real Jupiter token comes back CONSISTENT |
|
|
259
|
+
| 5 | Control: CHZ | the canonical Chiliz mint comes back UNBACKED_LIQUIDITY - a finding about the pool, never an accusation |
|
|
260
|
+
| 6 | The sweep | `liqproof scan --feed=universe` mines the whole Solana market, no curated list, no paywall |
|
|
261
|
+
| 7 | The artefacts | `liqproof export` writes the dataset and the dashboard; `liqproof verify` asserts read-only and zero cost |
|
|
262
|
+
| 8 | The safety net | the CI assertion re-checks every accusatory row against the canonical index and fails the build |
|
|
263
|
+
| 9 | The agent surface | `liqproof mcp` - one JSON-RPC call, four tools, the same receipt |
|
|
264
|
+
| 10 | Close | "Prove it, do not trust it." + the install line |
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
# LIQPROOF - Master Product Plan
|
|
2
|
+
|
|
3
|
+
> **Project:** LIQPROOF - *on-chain liquidity receipts*
|
|
4
|
+
> **Tagline:** "The chain doesn't lie. We keep receipts."
|
|
5
|
+
> **Budget:** $0.00 - hard, non-negotiable, architecturally enforced (read-only; no `sendTransaction` path exists in the codebase).
|
|
6
|
+
> **Date:** 2026-12-04 (revised 2026-12-06)
|
|
7
|
+
> **Status:** Engine complete and published. Distribution in progress.
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## 1. The decision - why LIQPROOF and not something else
|
|
12
|
+
|
|
13
|
+
| Option | Verdict |
|
|
14
|
+
|---|---|
|
|
15
|
+
| A general-purpose rug radar | No. Public radars are free but shallow: one of them reports "Rug-checked: 0" across hundreds of thousands of tokens and keeps no history. |
|
|
16
|
+
| A conventional data API | No. The paid tier starts at $29/month and goes to $2,050. The market is saturated. |
|
|
17
|
+
| Another "this is a scam" score | No. Free and trivially available, and scores are unfalsifiable - nobody can check a score without trusting the scorer. |
|
|
18
|
+
| **LIQPROOF** | **Yes. The artifact (the receipt) does not exist anywhere else, and the moat is timestamped on-chain evidence.** |
|
|
19
|
+
|
|
20
|
+
**The real asset:** a signed, on-chain proof (tx signature + slot + timestamp) that the advertised liquidity was never there, and exactly **when** it left. That is not a score - it is a **receipt**.
|
|
21
|
+
|
|
22
|
+
**The hook (one line):**
|
|
23
|
+
```
|
|
24
|
+
CoinGecko says $136,094,916. The chain says $21.45. Here's the receipt.
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## 2. Architecture - 3 source layers, zero paid dependencies
|
|
30
|
+
|
|
31
|
+
```
|
|
32
|
+
+-- MINE --------------------+ +-- TRUTH -------------------+ +-- PROVE ----------------+
|
|
33
|
+
| CoinGecko/GeckoTerminal | | Solana RPC (free tier) | | Receipt JSON |
|
|
34
|
+
| new_pools | | getAccountInfo | | reported vs real |
|
|
35
|
+
| token/pools | | getTokenAccountBalances | | coverage ratio |
|
|
36
|
+
| pool OHLCV | | getSignaturesForAddress | | timeline[] |
|
|
37
|
+
| SOL/USD price | | getTransaction | | drain event |
|
|
38
|
+
| -> "what they claim" | | -> "what is actually | | evidence[] |
|
|
39
|
+
| | | there" | | (tx links) |
|
|
40
|
+
| DexScreener | | | | SVG card (share) |
|
|
41
|
+
| reported liquidity | | Jupiter quote | | HTML page (GitHub Pages) |
|
|
42
|
+
| pair/venue map | | -> impact oracle | | CSV dataset |
|
|
43
|
+
| | | -> routePlan ammKeys | | |
|
|
44
|
+
+----------------------------+ +---------------------------+ +--------------------------+
|
|
45
|
+
|
|
|
46
|
+
+---------+---------+
|
|
47
|
+
| node:sqlite | <- zero native deps
|
|
48
|
+
| tokens pools |
|
|
49
|
+
| snapshots |
|
|
50
|
+
| receipts |
|
|
51
|
+
| events |
|
|
52
|
+
+-------------------+
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
**Zero-cost guarantees (measured, not assumed):**
|
|
56
|
+
- Solana RPC: `api.mainnet-beta.solana.com` -> `tier=free`, `method-limit=150`/10s, `rps=250`, `endpoint-limit=unlimited`; **batch of 20 = 270ms**; **omit `commitment`** (else 413); **`getProgramAccounts` = 375MB - banned**
|
|
57
|
+
- Second endpoint for rotation: `solana-rpc.publicnode.com` (batch 20 = 318ms)
|
|
58
|
+
- CoinGecko/GeckoTerminal v2 -> **200 OK, no key needed** (`api.geckoterminal.com/api/v2/...`); `api.coingecko.com/api/v3/networks/...` = 404, the on-chain path needs a key -> use GeckoTerminal v2 (it *is* CoinGecko's on-chain data) plus the free Analyst plan from the hackathon
|
|
59
|
+
- DexScreener `/tokens/v1/solana/{30}` -> no key
|
|
60
|
+
- Jupiter `lite-api.jup.ag/swap/v1/quote` -> keyless public quote endpoint
|
|
61
|
+
- `node:sqlite` is built into Node 22 (no better-sqlite3 native build risk on Windows)
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
## 3. The product - what we actually ship
|
|
66
|
+
|
|
67
|
+
### 3.1 The receipt (the core artifact)
|
|
68
|
+
```json
|
|
69
|
+
{
|
|
70
|
+
"version": "1.0",
|
|
71
|
+
"mint": "BTNia...",
|
|
72
|
+
"verdict": "FAKE_LIQUIDITY",
|
|
73
|
+
"claimed": { "liquidity_usd": 136094916, "source": "geckoterminal" },
|
|
74
|
+
"real": { "deposited_usd": 21.45, "quote_side": "USDC" },
|
|
75
|
+
"coverage": 0.000000197,
|
|
76
|
+
"timeline": [
|
|
77
|
+
{ "t":"2026-10-10T02:59:46Z", "slot":455085566, "signature":"43jx...",
|
|
78
|
+
"real_usd":21.45, "delta_usd":-22997.65, "withdrawer":"7nGe...",
|
|
79
|
+
"kind":"LIQUIDITY_REMOVED" }
|
|
80
|
+
],
|
|
81
|
+
"flags": ["STALE_CLAIM_AFTER_DRAIN", "SELF_DENOMINATED"],
|
|
82
|
+
"evidence": [ { "kind":"tx", "url":"https://solscan.io/tx/..." } ]
|
|
83
|
+
}
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
### 3.2 The survival study (the data story -> the hackathon prize + dataset licensing)
|
|
87
|
+
> "Launchpad survival study: follow every token from launch, show how many still have **real** liquidity after 7 and 30 days, by launchpad."
|
|
88
|
+
|
|
89
|
+
Live dashboard + downloadable dataset. This is the Analytics track brief, answered **on-chain** instead of from claimed numbers.
|
|
90
|
+
|
|
91
|
+
### 3.3 The delivery surfaces (no server, no hosting bill)
|
|
92
|
+
| Surface | Cost | Why |
|
|
93
|
+
|---|---|---|
|
|
94
|
+
| `npx liqproof receipt <mint>` - CLI | $0 | proves the product runs |
|
|
95
|
+
| MCP server (stdio) - tools: `verify_token`, `liquidity_timeline`, `find_fake_liquidity`, `survival_stats` | $0 | Claude Code / Cursor run it locally |
|
|
96
|
+
| GitHub Pages dashboard + dataset (CSV/JSON) | $0 | static, zero infra |
|
|
97
|
+
| x402 endpoint + Zero.xyz listing + MCP Registry | $0 | price per call in USDC, free facilitator |
|
|
98
|
+
| Cloudflare Workers (optional, for the public endpoint) | $0 | free tier, one command |
|
|
99
|
+
|
|
100
|
+
**No-hosted-app philosophy.** The customer runs it. That makes the cost **always** $0, not "free until it grows".
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
## 4. The build schedule
|
|
105
|
+
|
|
106
|
+
### Week 1 (4-8 December) - CORE ENGINE [DONE]
|
|
107
|
+
| Day | Task | Verifiable output |
|
|
108
|
+
|---|---|---|
|
|
109
|
+
| **D0** | scaffold + `RpcPool` (batch 20, rotation, backoff, rate governor 150/10s) + base58 | `getSlot` x20 in <400ms |
|
|
110
|
+
| **D1** | `VaultReader`: account -> vaults -> real balances (getTokenAccountsByOwner first, scan fallback) | real USDC balance for 3 pools |
|
|
111
|
+
| **D2** | `sources.ts`: GeckoTerminal v2 + DexScreener + Jupiter quote + SOL price (keyless) | claimed vs real for BAT#1 |
|
|
112
|
+
| **D3** | `curve.ts`: signature pagination + batched getTransaction -> pre/postTokenBalances deltas -> timeline | drain event with timestamp |
|
|
113
|
+
| **D4** | `receipt.ts` (JSON + markdown + SVG card + HTML page) + `store.ts` (node:sqlite) + `cli.ts` | `liqproof receipt <mint>` prints in full |
|
|
114
|
+
|
|
115
|
+
**D4 gate:** must print `BAT#1 -> reported $136,094,916 / real $21.45 / drain @ timestamp`. **Passed.**
|
|
116
|
+
|
|
117
|
+
### Week 2 (9-12 December) - MINE + PROVE [DONE]
|
|
118
|
+
| Day | Task | State |
|
|
119
|
+
|---|---|---|
|
|
120
|
+
| **D5** | `miner.ts`: poll `new_pools` -> receipt -> DB (batch + dedupe) | done |
|
|
121
|
+
| **D6** | `backfill`: token -> survival rates 7d/30d per launchpad -> CSV | done (4,950 mints scanned, 191 name collisions, 119 confirmed) |
|
|
122
|
+
| **D7** | **MCP server** (stdio): `verify_token` / `liquidity_timeline` / `find_fake_liquidity` / `survival_stats` | done |
|
|
123
|
+
| **D8** | **dashboard** (static, GitHub Pages) + dataset + README + 3-min demo script | done (66 audited tokens published, demo video rendered) |
|
|
124
|
+
|
|
125
|
+
### Week 3 (13-15 December) - SUBMIT
|
|
126
|
+
| Day | Task | State |
|
|
127
|
+
|---|---|---|
|
|
128
|
+
| **D9 (6 Dec)** | **Canonical-protection fix shipped**: the accusation gate now covers every accusatory verdict, the store guards every writer, and CI re-derives the canonical answer for every published row | **done** |
|
|
129
|
+
| **D10 (7 Dec)** | Superteam registration + claim the **free CoinGecko Analyst API plan** + submission prepared | pending (needs the account) |
|
|
130
|
+
| **D11 (15 Dec)** | **SUBMIT** - Analytics track (dashboard + dataset) **and** AI Agents track (MCP agent) | pending (needs the account and the form) |
|
|
131
|
+
|
|
132
|
+
### Week 4 (16-22 December) - RESULTS + MONETIZE
|
|
133
|
+
| Day | Task |
|
|
134
|
+
|---|---|
|
|
135
|
+
| **D12-16** | x402 endpoint live + Zero.xyz listing + MCP Registry publish + B2B outreach |
|
|
136
|
+
| **D17 (22 Dec)** | **Hackathon results** |
|
|
137
|
+
| **D18+** | dataset v2, B2B proposal, security-program submissions, foundation grant application |
|
|
138
|
+
|
|
139
|
+
---
|
|
140
|
+
|
|
141
|
+
## 5. Risks (stated honestly, with the mitigation)
|
|
142
|
+
|
|
143
|
+
| Risk | Likelihood | Severity | Mitigation |
|
|
144
|
+
|---|---|---|---|
|
|
145
|
+
| The hackathon prize is not guaranteed | 70% | Medium | Five parallel cash channels |
|
|
146
|
+
| A data provider rebuilds the receipt API | 40% | High | The moat is the **historical backfill** + tx-level evidence that is not cheaply reproducible retroactively + distribution and brand |
|
|
147
|
+
| `getTransaction` on old transactions returns null (non-archive node) | 60% | Medium | Tested on D3; fallback is GeckoTerminal OHLCV as a secondary source + "verified up to slot X" |
|
|
148
|
+
| Rate limits on the public RPC | 30% | Low | Rate governor + endpoint rotation + batching + backoff + cache |
|
|
149
|
+
| CoinGecko/GeckoTerminal changes the API | 25% | Medium | Adapter layer + DexScreener as a fallback |
|
|
150
|
+
| The product gets copied | 60% | Low | The code is easy to copy; the **dataset + evidence links + distribution** are what copy slowly |
|
|
151
|
+
| Reporting a rug creates legal exposure | 15% | High | Descriptive language ("on-chain measurement indicates..."), disclaimers, evidence links, and private responsible disclosure **before** anything public |
|
|
152
|
+
| We lose the hackathon and end up without cash | 25% | Low | Bounties + security reports + B2B cover the gap |
|
|
153
|
+
|
|
154
|
+
---
|
|
155
|
+
|
|
156
|
+
## 6. Acceptance criteria (definition of done)
|
|
157
|
+
|
|
158
|
+
**D4 gate:**
|
|
159
|
+
```bash
|
|
160
|
+
liqproof receipt BTNiaZb6HaEFWeEtND4SXtZ7T6mgtDwSryHTAj6PuPyp
|
|
161
|
+
# -> reported_liquidity_usd : 136094916
|
|
162
|
+
# -> real_liquidity_usd : 21.45
|
|
163
|
+
# -> coverage : 0.000000197
|
|
164
|
+
# -> drain_event : { at, slot, signature, loss_pct }
|
|
165
|
+
# -> evidence : [solscan links]
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
**Every criterion:**
|
|
169
|
+
1. `liqproof receipt <mint>` -> verdict + numbers + timeline + evidence, under 10s
|
|
170
|
+
2. 0 false positives on the bluechip set (BONK, JUP, PYTH, JTO, baton) - claimed ~= real
|
|
171
|
+
3. 4/4 traps caught in the labelled harness
|
|
172
|
+
4. CLMM / DLMM / bonding-curve pools supported (the category public radars skip)
|
|
173
|
+
5. `liqproof scan` -> fills the DB with N receipts
|
|
174
|
+
6. `liqproof export` -> dataset CSV + self-contained HTML dashboard
|
|
175
|
+
7. MCP server running: `verify_token` / `liquidity_timeline` / `survival_stats`
|
|
176
|
+
8. static dashboard on GitHub Pages
|
|
177
|
+
9. dataset CSV/JSON public
|
|
178
|
+
10. README carries the 3-minute story + demo script
|
|
179
|
+
11. **zero requests that mutate chain state - `grep sendTransaction` = 0**
|
|
180
|
+
12. **a canonical token can never carry an accusatory verdict** - enforced in the engine, at store time, and asserted in CI
|
|
181
|
+
|
|
182
|
+
---
|
|
183
|
+
|
|
184
|
+
## 7. Naming and brand
|
|
185
|
+
|
|
186
|
+
**Project:** `LIQPROOF`
|
|
187
|
+
**Artifact:** "the receipt" - every rug gets a receipt
|
|
188
|
+
**Line:** *"You bought at 14:22:59. It was gone at 14:23:07."*
|
|
189
|
+
**Domains/handles:** `@liqproof` (X) - `liqproof.xyz` (if available) - repo `liqproof`
|
|
190
|
+
**Why it trends:** the artifact is **shareable** - every rug is a post, a post is traffic, traffic is dataset, dataset is moat. We own the *genre* "the receipt".
|
|
191
|
+
|
|
192
|
+
---
|
|
193
|
+
|
|
194
|
+
## 8. Stack (final decision)
|
|
195
|
+
|
|
196
|
+
| Layer | Choice | Why |
|
|
197
|
+
|---|---|---|
|
|
198
|
+
| Language | **TypeScript** | x402, the MCP wire format, Workers and every SDK we might use are TS-first. The I/O is read-only and there is no bot loop. Rust is reserved for a future arb engine. |
|
|
199
|
+
| Runtime | Node 22 | `node:sqlite` built in |
|
|
200
|
+
| DB | **node:sqlite** | zero native deps (Windows build risk = 0) |
|
|
201
|
+
| Storage of truth | Solana RPC (free tier) | read-only = $0 |
|
|
202
|
+
| Market data | GeckoTerminal v2 + DexScreener + Jupiter quote | all keyless |
|
|
203
|
+
| Deploy | GitHub Pages + npm + (optional) Cloudflare Workers | $0 |
|
|
204
|
+
| Payments | x402 (USDC) + Coinbase CDP / Dexter facilitator | first 1,000 calls/month free |
|
|
205
|
+
| Agent surface | MCP server (stdio) + MCP Registry | free distribution |
|
|
206
|
+
|
|
207
|
+
---
|
|
208
|
+
|
|
209
|
+
## 9. Execution status
|
|
210
|
+
|
|
211
|
+
- [x] Plan written and adopted
|
|
212
|
+
- [x] Clean project directory, single repo, public GitHub history
|
|
213
|
+
- [x] D0-D4: engine, receipts, store, CLI (12 commands)
|
|
214
|
+
- [x] D5-D8: miner, backfill, MCP server, dashboard, dataset, README
|
|
215
|
+
- [x] Canonical protection in three independent places (engine gate, store guard, CI assertion)
|
|
216
|
+
- [x] MIT licence, npm allowlist, `mcpName`, `server.json`
|
|
217
|
+
- [x] Evidence regenerated from the chain (no hand-typed numbers)
|
|
218
|
+
- [ ] npm publish (needs a granular token)
|
|
219
|
+
- [ ] Hackathon submission (needs the demo video + the Superteam account)
|
|
220
|
+
- [ ] x402 Worker live (needs a Cloudflare account)
|
|
221
|
+
- [ ] MCP Registry publish (must follow the npm publish)
|
package/docs/llms.txt
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# LIQPROOF
|
|
2
|
+
|
|
3
|
+
> On-chain liquidity receipts for Solana. Read-only, $0 infrastructure, no
|
|
4
|
+
> gas, no paid APIs, no chain mutation.
|
|
5
|
+
|
|
6
|
+
For any Solana mint, LIQPROOF compares what the market **claimed** against
|
|
7
|
+
what is **actually deposited** in the pool vault, read directly from the
|
|
8
|
+
chain, and issues a receipt with the evidence attached.
|
|
9
|
+
|
|
10
|
+
- **API:** `GET https://liqproof.example.workers.dev/receipt/{mint}`
|
|
11
|
+
(add `?format=md` for markdown). `GET /health`, `GET /openapi.json`.
|
|
12
|
+
- **MCP:** `https://liqproof.example.workers.dev/mcp` (streamable HTTP),
|
|
13
|
+
or `npx -y liqproof mcp` (stdio). Tools: `verify_token`,
|
|
14
|
+
`liquidity_timeline`, `find_fake_liquidity`, `survival_stats`.
|
|
15
|
+
- **CLI:** `npm i -g liqproof` → `liqproof receipt <mint>`,
|
|
16
|
+
`liqproof serve`, `liqproof x402 <mint>`.
|
|
17
|
+
- **Price:** free tier 25 receipts/day per client. Then USDC on Solana over
|
|
18
|
+
x402 v2: $0.25 receipt, $2.00 receipt+timeline, $5.00 batch (30 mints),
|
|
19
|
+
$25.00 dataset snapshot.
|
|
20
|
+
- **Metric:** `coverage = deposited USD / claimed USD`. Honest pools land at
|
|
21
|
+
25–75%; the traps we have measured land at 0.00002%.
|
|
22
|
+
|
|
23
|
+
Verdicts: `FAKE_LIQUIDITY`, `UNBACKED_LIQUIDITY`, `NO_DEPTH`, `DRAINED`,
|
|
24
|
+
`THIN`, `CONSISTENT`, `NO_ROUTE`, `UNKNOWN`.
|
|
25
|
+
|
|
26
|
+
The server verifies payments through a free x402 facilitator's `/verify`
|
|
27
|
+
endpoint only. It never calls `/settle`, never holds a wallet and never
|
|
28
|
+
submits anything to a chain.
|
|
29
|
+
|
|
30
|
+
Details: [pricing](https://github.com/liqproof/liqproof/blob/main/docs/x402-pricing.md)
|
|
31
|
+
· [MCP registry entry](https://github.com/liqproof/liqproof/blob/main/docs/mcp-registry.md)
|
|
32
|
+
· [repository](https://github.com/liqproof/liqproof)
|