0.1.0-beta.4 • Published 11 months ago
@ensdomains/l1-gateway v0.1.0-beta.4
@ensdomains/l1-gateway
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.
Installation
bun add @ensdomains/l1-gateway
How to use l1-gateway locally via cloudflare dev env (aka wrangler)
cd l1-gateway
npm install -g bun wrangler
bun install
touch .dev.vars
## set WORKER_PROVIDER_URL
bun run dev
How to deploy l1-gateway to cloudflare
cd l1-gateway
npm install -g bun wrangler
wrangler login
wrangler secret put WORKER_PROVIDER_URL
bun run deploy
How to test
cd ../l1-verifier
PROVIDER_URL=$PROVIDER_URL TARGET_ADDRESS=$TARGET_ADDRESS yarn remote_test
Current deployments
Goerli
Contracts
- Verifier = 0xA63381212fBf7AA2D0b4a2cAe453f8c361B11d06
Example contracts
- TestL1 = 0xD5b1cB24f9BA18C9c35b3D090309E643bC77491e
- TestL2 = 0x43c0CBb8943E394FaE4C4def054D7702c29c9037
Gateway
0.0.0-feat-viem.20240822T231724706
11 months ago
0.1.0-beta.4
1 year ago
0.1.0-beta.3
1 year ago
0.1.0-beta.2
1 year ago
0.1.0-beta.0
1 year ago