This demo demonstrates a full end to end implementations of the Unruggable Gateways codebase for resolving an ENS name using data stored on Arbitrum, Base, and Optimism.
It utilises Foundry (through blocksmith.js) to fork Ethereum mainnet and deploy an instance of the respective chain specific verifier. This verifier is used to verify proofs returned by Unruggable's gateways running at:
- https://arbitrum-one.gateway.unruggable.com
- https://base.gateway.unruggable.com
- https://optimism.gateway.unruggable.com
The gateway is fetching data proofs from the real chains.
To install dependencies:
bun install
forge install
Configure:
Copy .env.example
to .env
and input API keys for your node provider (Alchemy/Infura/Ankr).
To run:
bun run arbitrum-one.ts
bun run base.ts
bun run optimism.ts