#fuel #vrf #ed25519 #rng #randomizer

orao-fuel-vrf

ORAO VRF Verifiable Random Function for Fuel Blockchain

2 releases

0.1.6 Mar 26, 2024
0.1.5 Mar 22, 2024

#9 in #vrf

Download history 91/week @ 2024-03-18 119/week @ 2024-03-25

210 downloads per month

Apache-2.0

21KB
425 lines

ORAO VRF SDK for Fuel blockchain

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 latest

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 Fuel's beta-3 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

~43–61MB
~1M SLoC