Menu

The Hidden Treasure

At the outset of every game session, the Treasure Oracle computes a hidden location derived from a server-held secret combined with a verifiable random seed generated on-chain by Chainlink. This computation is performed off-chain, which means the resulting location is never stored in the smart contract and cannot be read from the blockchain by any observer. Only the oracle service holds the knowledge of where the treasure lies.

Players have no direct information about the treasure location when a session begins. Discovery is a process of deduction. Strategic cards in the Reconnaissance and Utility categories provide indirect clues: some reveal the continent in which the treasure is hidden, others provide directional hints that narrow the search space without pinpointing the exact country. Players who conserve these intelligence cards and use them at the right moment gain a decisive advantage over rivals who exhaust their information resources early.

The Claim Flow

When a player believes they are standing in the correct country, they initiate a claim. The oracle receives the player's zero-knowledge proof, which certifies the player's current location without revealing it on-chain. The oracle verifies the proof's validity, then computes the treasure location independently and compares it against the location revealed by the proof. If the locations match, the oracle generates a signed claim authorisation using a typed data structure bound to the specific chain and room. The player submits this authorisation to the smart contract, which verifies the oracle's signature and executes the reward distribution.

The oracle's private key never touches the application server. It lives exclusively inside a hardware security module, which means even an operator with full server access cannot forge a treasure claim.

The Reward

A successful claim mints a Treasury NFT in the winner's wallet. The rarity of this NFT is determined at claim time by a verifiable random function, creating four possible outcomes from a common discovery to a legendary find. Higher rarities carry greater point value and a richer allocation of bonus cards. The game session then closes, and the oracle publishes the game secret on-chain so every participant can verify the fairness of the outcome.