Skip to content

orao-network/fuel-vrf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ORAO FUEL VRF

Generate on-chain randomness on Fuel. ORAO's Verifiable Random Function for Fuel offers unbiased, fast and affordable randomness for your Fuel programs. Create unique NFT characteristics, generate random levels in games and weapon characteristics, provide unique loot boxes, enable provably fair reward distribution, randomize airdrops and provide secure, verifiable lottery/raffle.

Contract Addresses

Network Address
Mainnet 0xa1a4158f8889a05d3082cda0da05135dd20ce67368a9ca2b576b170426acf373
Testnet 0x749a7eefd3494f549a248cdcaaa174c1a19f0c1d7898fa7723b6b2f8ecc4828d

Building

Make sure to have a working rust development environment.

  1. Update Rust. Your rust version needs to be no older than v1.81
rustup update
  1. Update fuel toolchain
fuelup self update
fuelup toolchain install testnet

OR

  1. Install fuel toolchain
curl --proto '=https' --tlsv1.2 -sSf https://fuellabs.github.io/fuelup/fuelup-init.sh | sh

This will install the Fuel latest toolchain, forc-wallet, explorer cli tool and indexer.

  1. Build the SDK Current version will build for the testnet. This command will also build sample apps
cargo build --release
  1. Check out our sample apps

on-chain Russian Roulette game and off-chain VRF request