Search projects, hackathons, sponsors and tech

    ← All projects

    zkAPI

    For building onchain applications that can verify offchain api calls.

    Demo

    About

    Trustlessly bringing offchain data onchain is a problem whose solution opens up many applications such as decentralized onchain prediction markets. This solution enables anyone to build an application where an offchain API is specified and used and proven onchain along with the results of its call.

    How it's made

    This project uses Risc Zero's Bonsai SDK / API to create a proof that the API call ran correctly, which in turn submits a proof and result to the PredictionGame.sol smart contract, using the Risc Zero Foundry Template and the creation of the custom PredictionGame.sol smart contract as well as the custom 'apiverifier' Rust program.