Ontropy's flagship product is the Virtual Rollup. Just like it sounds, a Virtual Rollup bundles transactions from multiple users to lower costs and latency. However, as opposed to optimistic or ZK rollups, Virtual Rollups have no nodes, validators or sequencers. In a Virtual Rollup, these roles are fulfilled by the user! You verify the transactions and order proofs. It is because of this fact that the security assumption drops from 51% to become unilaterally fault-tolerant. This means that you alone can prove and eliminate user cheating and collusion.
Here's how it works:
- 1.Players "buy-in" by depositing collateral to a smart contract. This balance is represented and changed in an in-game virtual wallet.
- 2.The players in the lobby, or users in an application, regenerate ephemeral keys to include the new user. Existing players need not interact with the blockchain.
- 3.When a player makes an interaction, and data leaves their device, a 520 bit MuSig2 is added and sent out to all other players. These other players also sign and send back this data. All players add this agreement to a Merkle root so that they can later prove that the interaction was received by everyone else.
- 4.Once a player is ready to leave, they will request that the other players knowledge this by completing a "lock-and-key" method that points the virtual balance back to the player's MetaMask wallet. This way, the player cannot double spend the balance in the lobby. The player submits the lightweight proof on-chain and receives funds immediately.
- 1.If one or multiple of the other players refuse to unlock the player who is attempting to leave, they may reaggregate the signatures they received during game interactions in step 3 and submit this similarly lightweight proofs. Therefore, as finality is achieved at the point of making the interaction, and not during cash-out, malicious players can only incur a slightly more expensive proving process (6,500 gas, or 0.003 MATIC).
- 2.Click here for a more extensive protocol overview.
The result is an SDK that can make Web2 games fully on-chain in under an hour, all without cost, latency, or wallet friction.