project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4
project screenshot 5
project screenshot 6

zkAPI

For building onchain applications that can verify offchain api calls.

zkAPI

Created At

Scaling Ethereum 2024

Project Description

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.

background image mobile

Join the mailing list

Get the latest news and updates