For developers
Read every Curvv coin from the chain, without an API.
Curvv has no API and no database: everything it shows comes from Solana. You can read it the same way, with any RPC.
List every coin
Every launch touches the registry, an address derived from Meteora's DBC program that nobody can sign for, and leaves a memo curvv:<mint>. One call returns the latest 1,000 launches.
import { Connection, PublicKey } from '@solana/web3.js'
const connection = new Connection('https://solana-rpc.publicnode.com')
const DBC = new PublicKey('dbcij3LWUppWqq96dh6gJWwBifmcGfLSB5D4DuSMaqN')
const [registry] = PublicKey.findProgramAddressSync([Buffer.from('curvv-registry')], DBC)
// J1j1UsGt9iJtqZ8cPr2UcFbsA6MGk3tLkPsA5qY9P4up
const sigs = await connection.getSignaturesForAddress(registry, { limit: 1000 })
const mints = sigs
.filter((s) => !s.err && s.memo)
.map((s) => s.memo.match(/curvv:([1-9A-HJ-NP-Za-km-z]{32,44})/)?.[1])
.filter(Boolean)Read one coin
The token's metadata link carries the config address in its k parameter. With it, the pool address is derived, not searched, so it works on RPCs that refuse program scans.
import { DynamicBondingCurveClient, deriveDbcPoolAddress } from '@meteora-ag/dynamic-bonding-curve-sdk'
// metadata.uri = 'https://curvv.app/api/meta?n=…&t=…&s=…&c=…&k=<config>'
const config = new PublicKey(new URL(metadata.uri).searchParams.get('k'))
const WSOL = new PublicKey('So11111111111111111111111111111111111111112')
const pool = deriveDbcPoolAddress(WSOL, mint, config)
const client = new DynamicBondingCurveClient(connection, 'confirmed')
const [state, curve] = await Promise.all([
client.state.getPool(pool), // sqrtPrice, quoteReserve, isMigrated…
client.state.getPoolConfig(config), // the 16 segments, migrationQuoteThreshold…
])Decode the shape
s is a compact copy of the line, for pictures: 15 pairs of base-36 digits. Pair k, divided by 1,295, is how far along the supply the line is when it crosses the k-th of 16 equal heights. The true curve is the config's segments; Curvv's chart rebuilds the line from those.
// 'a1b2…' (30 chars) → 17 points from (0, 0) to (1, 1)
const points = [[0, 0]]
for (let k = 0; k < 15; k++) {
points.push([parseInt(s.slice(k * 2, k * 2 + 2), 36) / 1295, (k + 1) / 16])
}
points.push([1, 1])Images and metadata
/api/avatar?s=…&c=… | The coin's face as a 512 px PNG: the line in its color on an ink tile |
/api/meta?n=…&t=…&s=…&c=…&k=… | The token's metadata JSON, cached for a year |
/coin/<mint> | The coin's page, with its own share card |