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
152 downloads per month
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.
- Update Rust. Your rust version needs to be no older than v1.65
rustup update
- Update fuel toolchain
fuelup self update
fuelup toolchain install testnet
OR
- 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.
- Build the SDK Current version will build for the testnet. This command will also build sample apps
cargo build --release
- Check out our sample apps
Dependencies
~76–115MB
~2M SLoC