A game without backend using TEE. This doesn't need a backend.
Front-end: A trivia game. Everyone can “view source.”
Secrets (the real answers) never live in that bundle. They stay inside the ROFL service, which—in production—runs inside a Trusted-Execution-Environment (TEE) on Oasis. The TEE won’t reveal its memory even to the machine’s root user.
User flow:
Browser asks the ROFL endpoint for a question.
ROFL enclave sends back the question plus a cryptographic proof.
Browser submits an answer; enclave tells you only “correct / wrong” (and signs that verdict so you can verify or even record it on-chain).
It uses ROFL of Oasis. Not fully production ready due to time constraints.
Front-end: A trivia game. Everyone can “view source.”
Secrets (the real answers) never live in that bundle. They stay inside the ROFL service, which—in production—runs inside a Trusted-Execution-Environment (TEE) on Oasis. The TEE won’t reveal its memory even to the machine’s root user.
User flow:
Browser asks the ROFL endpoint for a question.
ROFL enclave sends back the question plus a cryptographic proof.
Browser submits an answer; enclave tells you only “correct / wrong” (and signs that verdict so you can verify or even record it on-chain).