#fuel #vrf #random #ed25519 #randomizer

orao-fuel-vrf

ORAO VRF Verifiable Random Function for Fuel Blockchain

5 releases

new 0.2.3 Oct 26, 2024
0.2.2 Oct 5, 2024
0.2.0 Jun 19, 2024
0.1.6 Mar 26, 2024
0.1.5 Mar 22, 2024

#8 in #vrf

Download history 20/week @ 2024-07-27 13/week @ 2024-09-14 6/week @ 2024-09-21 2/week @ 2024-09-28 130/week @ 2024-10-05 13/week @ 2024-10-12

152 downloads per month

Apache-2.0

17KB
347 lines

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.

Building

Make sure to have a working rust development environment.

  1. Update Rust. Your rust version needs to be no older than v1.65
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

Dependencies

~76–115MB
~2M SLoC