| .. | ||
| frontend | ||
| hyperlane-deployer | ||
| hyperlane-relayer | ||
| hyperlane-validator | ||
| local-l1 | ||
| util | ||
| .env.example | ||
| .gitignore | ||
| docker-compose.yml | ||
| Dockerfile | ||
| entrypoint.sh | ||
| genesis.json | ||
| Makefile | ||
| README.md | ||
geth-poa
Tool for spinning up a POA ethereum sidechain bridged to sepolia via hyperlane token warp route.
Metrics
Metrics recorded by bootnode are exposed to host at http://127.0.0.1:6060/debug/metrics
Key Summary
Testnet private keys are in notion, and need to be copied into an .env.
All relevant accounts are funded on sidechain genesis, you may need to fund these accounts on L1 with faucets. See hyperlane docs.
Contract deployer
Address: 0xBe3dEF3973584FdcC1326634aF188f0d9772D57D
Note if the relayer is emitting errors related to unexpected contract routing, try using a new deployer key pair. It's likely that the current bridge contract deployments are clashing with previous deployments.
You'd need to replace Address above, the allocs field of genesis.json, and the CONTRACT_DEPLOYER_PRIVATE_KEY in .env.
Validator Accounts (also POA signers)
Node1
Address: 0xd9cd8E5DE6d55f796D980B818D350C0746C25b97
Node2
Address: 0x788EBABe5c3dD422Ef92Ca6714A69e2eabcE1Ee4
Relayer
Address: 0x0DCaa27B9E4Db92F820189345792f8eC5Ef148F6
Create2 Deployment Proxy
A Create2 deployment proxy is can be deployed to this chain at 0x4e59b44847b379578588920ca78fbf26c0b4956c. see more here. Note this proxy is required to deploy the whitelist bridge contract, and is consistent to foundry's suggested process for create2 deployment. The deployment signer, 0x3fab184622dc19b6109349b94811493bf2a45362 is funded on genesis.
Local Run
- To run the local setup, set the .env file with the keys specified in .env.example.
- Run
$ make up-dev-buildto run the whole stack including bridge, or$ make up-dev-settlementto bring up only the settlement layer.
Starter .env file
To get a standard starter .env file from primev internal development, click here.