Skip to content

SDK for verifiable randomness function (VRF / RNG) on Solana

License

Solanacodes/solana-vrf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Orao Solana VRF SDKs

This repository provides off-chain Rust and JS web3 SDKs for requesting on-chain randomness using ORAO VRF contract.

Browse through js SDK and rust SDK subdirectories for more info. We've made an in-depth VRF integration guide on Solana's Cookbook.

How to run a test validator.

Note that anchor test will run it for the cpi tests.

Here is an example:

solana-test-validator -r \
    --bpf-program VRFzZoJdhFWL8rkvu87LpKM3RbcVezpMEc6X5GVDr7y js/dist/orao_vrf.so \
    --ledger /tmp/test-ledger

About

SDK for verifiable randomness function (VRF / RNG) on Solana

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 52.2%
  • Rust 47.8%