cc-vrf

Commit and validate ECVRF-based random draws on Solana.

2|Updated May 13, 2026
One-click install
npx skills add https://github.com/collectorcrypt/cc-vrf --skill cc-vrf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cc-vrf
Source: https://github.com/collectorcrypt/cc-vrf/tree/main/apps/website/public
Command: npx skills add https://github.com/collectorcrypt/cc-vrf --skill cc-vrf

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

cc-vrf replaces opaque or centralized randomness with verifiable on-chain random draws for Solana applications, so users can audit every outcome after the fact.

Core Features & Use Cases

  • Permissionless VRF workflow: Register and freeze an operator authority, then commit ECVRF proof hashes on chain for later verification.
  • Multiple commitment modes: Use compressed PDA registry commits, registry commits with beta for on-chain consumers, or event-only commits for lower cost.
  • Developer tooling: Integrate the TypeScript SDK to build commits, verify authority lifecycle, scan events, and reproduce deterministic random streams.
  • Use cases: Ideal for dice games, NFT trait assignment, raffle selection, loot drops, lottery draws, and validator or committee selection.

Quick Start

Add cc-vrf to your Solana project when you need low-cost, publicly verifiable randomness that can be committed on chain and independently checked later.

Frequently Asked Questions about cc-vrf

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add verifiable randomness to a Solana smart contract?

You add verifiable randomness by registering and freezing an operator authority, committing ECVRF proof hashes on chain via compressed PDAs or events, then validating the draws later with a TypeScript SDK.

What is ECVRF-based random draw commitment for Solana applications?

ECVRF-based random draw commitment is a process where proof hashes are submitted on Solana so outcomes like dice rolls or lotteries can be publicly audited and verified end-to-end after the fact.

Does cc-vrf work with Anchor and TypeScript for on-chain randomness?

Yes, cc-vrf integrates with Anchor and provides a TypeScript SDK to build commits, verify the operator authority lifecycle, scan events, and reproduce deterministic random streams for Solana.

What are the best ways to commit verifiable randomness on Solana at low cost?

For low-cost verifiable randomness on Solana, you can use compressed PDA registry commits, registry commits with beta for on-chain consumers, or event-only commits to minimize transaction expenses.

When should I use event-only commits instead of registry commits for Solana VRF?

Use event-only commits for Solana VRF when you need lower cost and do not require on-chain consumers to read beta directly, whereas registry commits with beta provide direct on-chain verification access.