Skip to content

losfair/rekor-evm

Repository files navigation

rekor-evm

This repository implements a witness of the Rekor tamper-resistant transparency log on EVM-compatible Ethereum L2 networks.

With a trusted Ethereum beacon chain checkpoint, it's possible to verify the inclusion of any log entry in a Rekor log, in a way that is secure against a compromised or malicious log operator (e.g. split-view attacks, leaked signing keys).

Deployments

Tools

Submit a new signed tree head for witness

export ETH_PRIVATE_KEY=<hex-encoded Ethereum private key>
cd client

# See advanced usage with -help, e.g. custom L2s, private Rekor deployments
go run github.com/losfair/rekor-evm/client/cmd/submit-signed-tree-head -live

Run a proof generation server

deno run -A sigstore-scroll-witness.ts

Run a proof verifier

cd sigcheck
cargo run --release

# wait for the first "buffering new finalized block" log line
# then, in another terminal
curl https://sigstore-scroll-witness.deno.dev/proof/123772604 > proof.json
curl http://localhost:2915/verify -d @proof.json -H "content-type: application/json"

About

Sigstore Rekor log rollup to EVMs

Resources

License

Stars

Watchers

Forks

Packages

No packages published