{"id":13751211,"url":"https://github.com/aroralanuk/hyperlane-exex","last_synced_at":"2026-04-04T21:55:30.805Z","repository":{"id":238168044,"uuid":"796016662","full_name":"aroralanuk/hyperlane-exex","owner":"aroralanuk","description":"PoC of a hyperlane validator built on top of reth","archived":false,"fork":false,"pushed_at":"2025-02-09T16:24:17.000Z","size":717,"stargazers_count":13,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-09T17:51:32.643Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aroralanuk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-05-04T17:22:35.000Z","updated_at":"2025-02-09T16:24:21.000Z","dependencies_parsed_at":"2024-05-04T18:29:43.422Z","dependency_job_id":"d8fe2c2c-ec35-46c1-ab07-3d18883a9f1d","html_url":"https://github.com/aroralanuk/hyperlane-exex","commit_stats":null,"previous_names":["aroralanuk/hyperlane-exex"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aroralanuk/hyperlane-exex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aroralanuk%2Fhyperlane-exex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aroralanuk%2Fhyperlane-exex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aroralanuk%2Fhyperlane-exex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aroralanuk%2Fhyperlane-exex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aroralanuk","download_url":"https://codeload.github.com/aroralanuk/hyperlane-exex/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aroralanuk%2Fhyperlane-exex/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31415796,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T20:09:54.854Z","status":"ssl_error","status_checked_at":"2026-04-04T20:09:44.350Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T09:00:39.056Z","updated_at":"2026-04-04T21:55:30.744Z","avatar_url":"https://github.com/aroralanuk.png","language":"Rust","funding_links":[],"categories":["Execution Extensions (ExExes) ##"],"sub_categories":[],"readme":"# Hyperlane ExEx\n\nPoC of a Hyperlane [validator](https://docs.hyperlane.xyz/docs/protocol/agents/validators) built on top of Reth's new ExEx framework for post-execution hooks. See more details about ExEx [here](https://www.paradigm.xyz/2024/05/reth-exex).\n\n### Introduction\n\n![Hyperlane ExEx ETL](./assets/hyperlane-exex.png)\n\nA bit of background on Hyperlane's validators: validators are super lightweight off-chain agents that sign Hyperlane messages (either just the `messageId` as shown in the example, or by first building the incremental Merkle tree and then signing the root, which is currently live in production) from a source chain. These messages get verified on the destination chain by the respective [InterchainSecurityModule](https://docs.hyperlane.xyz/docs/reference/ISM/specify-your-ISM) contracts.\n\nThis can be easily transformed into an ETL pipeline as pictured:\n\n- **Extract:** Observe Mailbox (or MerkleTreeHook) dispatch events from the node state.\n- **Transform:** Sign the derived `messageId` with the EIP-191 standard scheme.\n- **Load:** Post the signed payload to an openly available datastore (S3 bucket in our case).\n\nPlease note that only the simpler Mailbox ExEx has been built so far. This is just a simple example and not ready for production use.\n\n### Setup\n\n#### Prerequisites\n\n- **AWS CLI:** For interacting with the S3 datastore.\n  ```sh\n  aws --version\n  ```\n\n#### Installation\n\n1. **Clone the Repository:**\n\n   ```sh\n   git clone https://github.com/paradigmxyz/reth.git\n   cd reth\n   ```\n\n2. **Install Dependencies:**\n\n   ```sh\n   cargo build\n   ```\n\n3. **Configure Environment Variables:**\n\n   Create a `.env` file in the root directory and add the following:\n\n   ```env\n   AWS_ACCESS_KEY_ID=your_access_key_id\n   AWS_SECRET_ACCESS_KEY=your_secret_access_key\n   S3_BUCKET_NAME=your_s3_bucket_name\n   ```\n\n4. **Set Up AWS S3 Bucket:**\n\n   - Create an S3 bucket to store the signed payloads.\n   - Ensure the bucket has the appropriate permissions for read/write access.\n\n#### Running the Validator\n\n1. **Locally**\n\nThis is just for base network but can be easily adjusted for other networks.\n\n   ```sh\n   cargo run --bin hyperlane-reth\n       node\n        --full\n        --chain base\n        --datadir /tmp/data\n        --rollup.sequencer-http https://mainnet-sequencer.base.org\n        --rollup.disable-tx-pool-gossip\n        --port 30305\n        --discovery.port 30305\n        --enable-discv5-discovery\n        --discovery.v5.addr 0.0.0.0\n        --discovery.v5.port 30306\n        --discovery.v5.port.ipv6 30306\n        --http\n        --http.addr 0.0.0.0\n        --http.port 8547\n        --http.corsdomain \"*\"\n        --http.api all\n        --ws\n        --ws.addr 0.0.0.0\n        --ws.port 8548\n        --ws.origins \"*\"\n        --ws.api all\n        --authrpc.jwtsecret /jwt/jwt.hex\n        --authrpc.addr 0.0.0.0\n        --authrpc.port 9551\n   ```\n\n2. **Docker setup**\n\n### Tests\n\n#### Running Tests\n\nThe project includes a suite of automated tests to ensure functionality and reliability.\n\n1. **Execute All Tests:**\n   ```sh\n   cargo test\n   ```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faroralanuk%2Fhyperlane-exex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faroralanuk%2Fhyperlane-exex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faroralanuk%2Fhyperlane-exex/lists"}