An instantiation of evm-gateway that targets Ethereum L1 - that is, it implements a CCIP-Read gateway that generates proofs of contract state on L1.
This may at first seem useless, but as the simplest possible practical EVM gateway implementation, it acts as an excellent target for testing the entire framework end-to-end.
It may also prove useful for contracts that wish to trustlessly establish the content of storage variables of other contracts, or historic values for storage variables of any contract.
bun add @ensdomains/l1-gateway
cd l1-gateway
npm install -g bun wrangler
bun install
touch .dev.vars
## set WORKER_PROVIDER_URL
bun run dev
cd l1-gateway
npm install -g bun wrangler
wrangler login
wrangler secret put WORKER_PROVIDER_URL
bun run deploy
cd ../l1-verifier
PROVIDER_URL=$PROVIDER_URL TARGET_ADDRESS=$TARGET_ADDRESS yarn remote_test
- Verifier = 0xA63381212fBf7AA2D0b4a2cAe453f8c361B11d06