Build with VRE
On-chain proof of who won. Build committed W3O1 rules, resolve once, let anyone verify from the transaction signature.
Three steps. One artifact. One replay path.
The public surface is simple: build a deterministic artifact, resolve it on-chain with an operator path, then replay the signature from public RPC data. Artifact building is open. Operator execution depends on the program instance you use.
Build artifact bytes
Define participants, weights or scores, winners count, and optional formula fields. The SDK compiles them into deterministic W3O1 bytes.
Resolve on-chain
An operator path submits the committed artifact to the canonical or partner-owned program. The resulting transaction becomes the public evidence surface.
Share & verify
You get a signature. Paste it at /verify or call verifyOutcome(). Anyone can replay the same outcome from public RPC data.
One npm package. Deterministic build + replay.
Config in. Signature out. Replay anywhere.
One POST request. Outcome committed on-chain.
No SDK required. Send participants and a formula — get back a transaction signature and a public replay URL. Anyone can verify the result independently.
| Field | Required | Description |
|---|---|---|
| formula | yes | weighted_random, rank_desc, rank_asc, first_n, closest_to |
| participants | yes | Array of 2–100 objects. Each has id (string) + weight (weighted_random) or score (others) |
| winners_count | no | Integer 1–10. Defaults to 1 |
| target | closest_to only | Signed integer. The value participants are ranked by proximity to |
| label | no | Free-form string up to 80 chars for your records |
Committed rules. Single or multi-winner outcomes.
Same SDK shape: build artifact, resolve on-chain, replay the signature.
Raffle
W3O1 v1 weighted random. One winner from a committed weighted participant list.
Rewards Selection
W3O1 v2 multi-winner weighted random. Replay returns full ordered outcome_ids.
Trading Competition
W3O1 v3 rank_desc. Signed scores and stable input order produce deterministic top-N winners.
Prediction Market
W3O1 v3 closest_to. Replay includes committed target, signed scores, and stable order.
Get an API key
Verification is open to everyone and needs no key: the replay endpoint, the SDK verifier and the verify page are public. A partner key is what unlocks the write side — server-side draws, the sortition flow and the conditions endpoints. Write to us with what you are building and the volume you expect.
Running at scale? Platforms can deploy the engine under a partner agreement — their own program ID, no per-resolution fee.