Step-by-Step
A walkthrough of how the heist game is made
Last updated
A walkthrough of how the heist game is made
Last updated
Who's in town?
Mayor (host): create rooms and hold the mayor's key
Museum owner (player): manage their museum by the day and might do something else at night
During the day, each owner runs their museum fair and square. The Artifacts and balances of the museum are publicly available to everyone.
We'll denote public information in green.
Cryptography technology allows users to control access to pieces of data. Each cryptographic primitive will have different properties. (you don't have to worry about it.)
At night, the mayor holds the key to every museum's balance while each museum owner has the key to their secret vault.
From now we will denote encrypted data in grey.
At night players can pay a "special visit" to a museum and might give themself some "souvenirs". In this step, players must create homomorphically encrypted data of the number of artifacts they want to take from each museum (0 means not taking any), encrypted data of the total of artifacts they took, and proof that the sum is correct.
In the morning, the mayor will decrypt and show what is missing. After this, it's time to report (or accuse) others. The accused player has to offer proof of whether they committed the crime.
The owner can display their ill-gotten artifacts by reducing the number in their private vault and adding to the museum. This process also uses homomorphic encryption and zkSNARK to ensure it's done correctly while keeping the vault's content a secret.