#fuel #vrf #random #ed25519 #randomizer

orao-fuel-vrf

ORAO VRF Verifiable Random Function for Fuel Blockchain

7 releases

new 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

#141 in Magic Beans

Download history 4/week @ 2024-08-01 12/week @ 2024-09-12 6/week @ 2024-09-19 2/week @ 2024-09-26 124/week @ 2024-10-03 19/week @ 2024-10-10 1/week @ 2024-10-17 107/week @ 2024-10-24 12/week @ 2024-10-31 2/week @ 2024-11-07 134/week @ 2024-11-14

262 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

~78–120MB
~2M SLoC