This is the example of the risc0
proof verification on Casper.
See this blog post for full story.
You should install:
- just
- wabt
- cargo-odra
- casper-client
Generate the prove and test it against local Casper VM.
$ just run
First add your Casper keys to keys
directory.
Install the Verifier contract on chain.
$ just deploy-verifier
Obtain the contract hash (via integration.cspr.live) and call the verify
method.
$ just call-verify hash-123...def