An open API service indexing awesome lists of open source software.

https://github.com/shawakash/vrf-starknet-bridge

VRF Starknet Bridge
https://github.com/shawakash/vrf-starknet-bridge

ethereum solidity starknet vrf

Last synced: 29 days ago
JSON representation

VRF Starknet Bridge

Awesome Lists containing this project

README

          

# Chainlink VRF Starknet Bridge

A Solidity contract that consumes Chainlink VRF (Verifiable Random Function) and bridges the random numbers to Starknet L2. Built for lottery/gaming applications requiring secure randomness across layers.

## Features

- Chainlink VRF V2Plus integration for secure randomness
- Automatic bridging to Starknet L2 via messaging
- Atomic request handling with locking mechanism
- Access control with authorized callers
- Pausable and emergency recovery functions
- Reentrancy protection

## Configuration

The contract requires:

- Chainlink VRF subscription ID
- VRF Coordinator address
- Key hash for VRF requests
- Starknet Core contract address
- L2 contract address and selector (for bridging)