#fuel #vrf #ed25519 #rng #randomizer

orao-fuel-vrf

ORAO VRF Verifiable Random Function for Fuel Blockchain

7 releases

0.2.6 Nov 20, 2024
0.2.4 Nov 19, 2024
0.2.3 Oct 26, 2024
0.2.0 Jun 19, 2024
0.1.6 Mar 26, 2024

#9 in #vrf

Download history 13/week @ 2024-09-15 6/week @ 2024-09-22 79/week @ 2024-09-29 59/week @ 2024-10-06 7/week @ 2024-10-13 73/week @ 2024-10-20 44/week @ 2024-10-27 4/week @ 2024-11-03 252/week @ 2024-11-17 17/week @ 2024-11-24 5/week @ 2024-12-01 17/week @ 2024-12-08

291 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.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

Dependencies

~88–130MB
~2.5M SLoC