Search projects, hackathons, sponsors and tech

    ← All projects

    Tempest Tactician

    Hide/Reveal Scheme with O1js, and attempting to use Acurast TEE Processors for Oracles

    Demo

    About

    his is Proof of Concept Game that uilizes utilizes zero-knowledge proofs (ZKPs) implemented through O1js, a TypeScript library for zk-SNARK circuits. These ZKPs enable players to commit to strategies without revealing them, ensuring game-theoretic integrity. I also used O1js's new offchain storage API, allowing for efficient management of large game states without compromising on-chain efficiency or security. This offchain storage solution is pivotal in handling the complex, evolving nature of player strategies and game progression. The game's unique feature is the incorporation of real-time weather data as a decisive factor in battle outcomes. I explored Acurast, a decentralized oracle network, to fetch and integrate this data. Acurast's architecture, built on Trusted Execution Environments (TEEs), allows for the secure, confidential, and verifiable acquisition and on-chain submission of weather data. This implementation creates a trustless bridge between off-chain real-world conditions and on-chain game mechanics.

    How it's made

    Since I cannot upload pictures here- Here's a link to the architecure diagram of my project: https://github.com/enderNakamoto/battle_zkapp?tab=readme-ov-file#game-architecture The main parts of the game are: ## Zero-Knowledge Proofs (ZKPs) * Implemented using O1js, a TypeScript library for zk-SNARK circuits * Allows players to commit strategies privately * Ensures game-theoretic integrity ## Offchain Storage * Utilizes O1js's new offchain storage API * Enables efficient management of large game states * Maintains on-chain efficiency and security * Critical for handling complex, evolving player strategies and game progression ## Real-Time Weather Integration * Incorporates live weather data as a battle outcome factor * Explores Acurast as a decentralized oracle network for data fetching * Leverages Trusted Execution Environments (TEEs) for secure and confidential data acquisition * Verifiable on-chain data submission * Creates a trustless bridge between off-chain conditions and on-chain mechanics