Locally verified, by default
The SDK re-verifies every VRF proof against your own request before returning a value. A number from VRAND is checked math, not a server's claim.
Request a random number that arrives with a proof your own code checks — on the web or inside a Solana program.
VRAND is live on Solana mainnet — request a number in the app. Devnet remains available for free experimentation (the app has a network switch).
| Surface | Install | One line |
|---|---|---|
| Web / TypeScript | npm i @vrand.io/web | const r = await vrand.random() |
| Anchor program | vrand-anchor + vrand-cpi crates | ctx.accounts.request_vrand(seed, at_risk, seeds)? |
| Any framework | vrand-interface (zero dependencies) | build the instruction from constants |
Program ID (mainnet + devnet): 4HeYPD3be4YVGGGShLgrHwFS2aakss7gMD6tWcjXA4nx