← Back to home

zkAPI

For building onchain applications that can verify offchain api calls.

Screenshots

zkAPI screenshot 1
zkAPI screenshot 2
zkAPI screenshot 3
zkAPI screenshot 4
zkAPI screenshot 5
zkAPI screenshot 6

Problem Statement

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.

Solution

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.

Hackathon

Scaling Ethereum 2024

2024

Contributors