flow-vrf

Community

Select juries with provable Flow randomness.

Authorleomanza
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Flow VRF jury selection eliminates biased or opaque leader/juror selection by producing verifiable randomness that can be audited.

Core Features & Use Cases

  • Provably fair jury selection: Requests randomness from Flow via a Cadence script invoking revertibleRandom<UInt64>(), then uses the VRF seed for deterministic selection.
  • Unbiased selection from a candidate pool: Applies a Fisher-Yates shuffle over the voter pool using the VRF seed as an LCG PRNG source.
  • On-chain logging support: Returns the selected jury alongside the VRF seed and a proof string suitable for on-chain logging.
  • Use case: When coordinating DAO deliberation, randomly and verifiably choose a subset of eligible voters as jurors for each deliberation round while keeping the selection method auditable.

Quick Start

Use the flow-vrf skill to select a jury by providing the candidate pool of NEAR account IDs, the desired jury size, and a deliberation ID, and receive the jury, VRF seed, and proof for verification.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: flow-vrf
Download link: https://github.com/leomanza/delibera.xyz/archive/main.zip#flow-vrf

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.