slot-vrng

Official

Atomic verifiable randomness for onchain games

AuthorKepler22bee
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Enables onchain games to obtain cheap, provable randomness within a single transaction so game outcomes like loot, dice rolls, and procedural events are deterministic, verifiable, and gas-efficient.

Core Features & Use Cases

  • Atomic In-Transaction Randomness: Request and verify randomness within the same transaction to eliminate race conditions and external oracle delays.
  • Source Flexibility: Supports nonce-based sources (per-address nonces) and salt-based sources for repeatable or varying seeds.
  • Integration Guidance: Explains the required multicall ordering (request_random must be first), contract consumption patterns, and Controller policy entries to permit requests.
  • Use Cases: Ideal for loot chests, dice mechanics, procedural content generation, and any game logic that requires provable in-transaction entropy.

Quick Start

Use the slot-vrng skill to request a verifiable random number for my game contract using the player's address as the Nonce source and then consume it in the same transaction.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: slot-vrng
Download link: https://github.com/Kepler22bee/House-of-Stark/archive/main.zip#slot-vrng

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 223,000+ vetted skills library on demand.