Setting the scene

The first step is to understand what we’re trying to do:

  • You want to check if a specific Transfer event has been emitted from an ERC20 contract on Sepolia from Chiado.

  • We’ll do this by using HashiProver, which will verify the event from an ERC20 contract on Sepolia.

  • The proof will be verified using the latest block header that was relayed to Hashi from Sepolia to Chiado.

Here’s what we need to accomplish:

  • Fetch the event proof for Transfer event from Sepolia.

  • Deploy a contract on Chiado that will verify the event proof using HashiProver.

  • Submit the proof to this contract to validate the event on Sepolia.

Last updated