Home

Solana VRF

A large variety of secure data at high speed in real-time giving you an advantage over competitors through customization.
Seed

Approve the transaction. The status area below will show the transaction hash for the randomness request.

Status

Developers

Copied
// Import ORAO's VRF library import { Orao } from '@orao-network/solana-vrf' import * as anchor from '@coral-xyz/anchor' // Request using a random seed. const provider = anchor.AnchorProvider.env(); const vrf = new Orao(provider); const [seed, tx] = await (await vrf.request(seed.toBuffer())).rpc() console.log("Your transaction is " + tx); // Await fulfilled randomness (default commitment is "finalized"): const { randomness } = await vrf.waitFulfilled(seed.toBuffer()); console.log("Your randomness is " + randomness);