Skip to content

Add an options guide for randomness in Soroban contracts #2874

Description

@briwylde08

Soroban has no native randomness primitive and the docs don't discuss it. Builders who need it (games, raffles, fair ordering) each invent a workaround. Meanwhile the landscape is moving: CAP-0089 proposes VRF-based protocol randomness with a stellar-core PR implementing ECVRF, a community drand relay exists, and an SCF-funded Soroban VRF project is in flight.

Please add a guide covering:

  • what randomness a contract can and cannot get today;
  • the options (oracle/relay such as drand, an on-chain VRF contract, commit-reveal) with trust and cost tradeoffs;
  • a note on CAP-0089 so builders can plan for it.

Surfaced by Frontier Lab's ecosystem crawl.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

  • Status
    No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions