{"repo":"orao-network/solana-vrf","free":true,"listed":false,"github":"https://github.com/orao-network/solana-vrf","clone":"git clone https://github.com/orao-network/solana-vrf.git","description":"SDK for verifiable randomness function (VRF / RNG) on Solana","language":"TypeScript","stars":99,"topics":["solana","solana-nft","solana-program","blockchain","gamefi","random-number-generators","rng","vrf","randomizer","solana-casino"],"license":"Apache-2.0","category":"blockchain-web3","readme_excerpt":"ORAO Solana VRF Generate on-chain randomness on Solana. ORAO's Verifiable Random Function for Solana offers unbiased, fast and affordable randomness for your Solana programs. Create unique NFT characteristics, generate random levels for games and weapons, randomize airdrops and provide secure, verifiable lottery. Built using Anchor framework. For VRF Callback functionality guide please explore the callback folder . This repository provides off-chain Rust and JS web3 SDKs for requesting on-chain randomness using ORAO VRF program. Latest peformance updates show sub-second fulfilment with basic tx fees Program account Classic VRF: (devnet/mainnet): Program account Callback VRF: (devnet/mainnet): Notes on v0.4.0 update Since v0.4.0 the cost of a request is significantly reduced, but this imposes some caveats: - You should now use RandomnessAccountData to decode the randomness account: Developer Integration Guide - CPI Example CPI is an abbreviation for Cross Program Invocation on Solana – a way for one contract to call another contract within a single transaction. This section will illustrate this ([full code is available on GitHub][6]). The contract we'll use to illustrate the CPI is a simple single-player Russian Roulette where the outcome of a round is derived from a fulfilled randomness. Note: the randomness will not be immediately available for your contract, so you'll need to design it in a way that it'll wait for randomness being fulfilled. In our example a player won't be","default_branch":null,"files":null,"tree":[],"storefront":"/r/orao-network","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/orao-network/solana-vrf/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}