X1 Mainnet · GERO v8.1
Integrations
Projects that request randomness from GERO, and how to add GERO to yours.
RISE Phoenix
mainnetA collection of 500 NFTs on X1. Each mint requests randomness from GERO and completes once the request is fulfilled.
Visit RISE Phoenix →Capy Warriors
mainnetA collection of 500 NFTs on X1. Each mint requests randomness from GERO and completes once the request is fulfilled.
Visit Capy Warriors →Use GERO in your project
Your program asks GERO for a random value, waits for it, then uses it. Randomness comes from radioactive decay measured by the Geiger counters of GERO's node operators, and every result is verified on-chain.
- Request. Your program calls GERO's request_randomness with a seed of its own. This creates a request account that belongs to your request.
- Fulfil. GERO fulfils the request a few slots later with a result built from the nodes' entropy. A request that is not fulfilled within 138 slots can no longer be fulfilled; it can only be cancelled.
- Use. Your program reads the result from the request account, for example to pick an NFT's traits, and finishes its own step.
Build and test on X1 testnet first; mainnet runs the current version. The two versions differ, so check the account layout of the one you target.
X1 Mainnet
GERO v8.1
X1 Testnet
GERO v9.1c (next version, in testing)