{"id":47936620,"url":"https://github.com/tangle-network/reth-node-blueprint-template","last_synced_at":"2026-04-04T07:44:30.474Z","repository":{"id":274047963,"uuid":"921743594","full_name":"tangle-network/reth-node-blueprint-template","owner":"tangle-network","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-20T11:58:46.000Z","size":296,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-04T07:44:28.367Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tangle-network.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","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}},"created_at":"2025-01-24T14:31:44.000Z","updated_at":"2025-03-20T11:58:49.000Z","dependencies_parsed_at":"2025-01-24T15:43:25.330Z","dependency_job_id":null,"html_url":"https://github.com/tangle-network/reth-node-blueprint-template","commit_stats":null,"previous_names":["tangle-network/reth-node-blueprint-template"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tangle-network/reth-node-blueprint-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangle-network%2Freth-node-blueprint-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangle-network%2Freth-node-blueprint-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangle-network%2Freth-node-blueprint-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangle-network%2Freth-node-blueprint-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tangle-network","download_url":"https://codeload.github.com/tangle-network/reth-node-blueprint-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangle-network%2Freth-node-blueprint-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31392186,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T04:26:24.776Z","status":"ssl_error","status_checked_at":"2026-04-04T04:23:34.147Z","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":"2026-04-04T07:44:29.859Z","updated_at":"2026-04-04T07:44:30.459Z","avatar_url":"https://github.com/tangle-network.png","language":"Rust","readme":"# Reth Node Tangle Blueprint\n\nA Tangle Blueprint for deploying and managing a Reth Ethereum node with Prometheus and Grafana monitoring.\n\n## Overview\n\nThis Tangle Blueprint integrates the [local_reth](https://github.com/paradigmxyz/local_reth) repository to provide a simple way to run a Reth Ethereum node with built-in monitoring via Prometheus and Grafana. The blueprint exposes job functions for state-changing operations like starting and stopping the node, while providing direct monitoring access through web interfaces.\n\n## Features\n\n- Deploy a Reth Ethereum node via Docker Compose\n- Monitor node performance with Prometheus\n- Visualize metrics with pre-configured Grafana dashboards\n- Tangle Network integration for node lifecycle management\n- Clean separation between state-changing operations and monitoring\n- Standalone CLI tool for direct interaction with the Reth node\n\n## Prerequisites\n\n- [Docker](https://docs.docker.com/get-docker/) and [Docker Compose](https://docs.docker.com/compose/install/)\n- [Rust](https://www.rust-lang.org/tools/install) (1.70.0 or later)\n- The Cargo Tangle CLI (`cargo tangle`) installed\n\n## Installation\n\nClone this repository:\n\n```bash\ngit clone https://github.com/tangle-network/reth-docker-template.git\ncd reth-docker-template\n```\n\nBuild the blueprint:\n\n```bash\ncargo build --release\n```\n\n## Usage\n\n### Using the Tangle Blueprint\n\nStart the blueprint service:\n\n```bash\n./target/release/reth-docker-template-bin\n```\n\nThis will start the Tangle Blueprint service, which will listen for job calls from the Tangle Network.\n\n### Available Job Functions\n\nThe blueprint follows a best practice of only using job functions for state-changing operations:\n\n| Job ID | Function     | Description                                     |\n| ------ | ------------ | ----------------------------------------------- |\n| 1      | `reth_start` | Start the Reth node with Prometheus and Grafana |\n| 2      | `reth_stop`  | Stop the Reth node and associated services      |\n\n### Using the Standalone CLI Tool\n\nFor testing and direct interaction without going through the Tangle Network, you can use the standalone CLI tool:\n\n```bash\n# Build the CLI tool\ncargo build --bin reth-cli\n\n# Start the Reth node\n./target/debug/reth-cli start\n\n# Check status\n./target/debug/reth-cli status\n\n# View logs\n./target/debug/reth-cli logs\n\n# Stop the node\n./target/debug/reth-cli stop\n```\n\nFor more information on the CLI tool, see [reth-cli README](reth-docker-template-lib/src/bin/README.md).\n\n### Monitoring and Data Access\n\nMonitoring data is available through web interfaces:\n\n- **Grafana Dashboard**: http://localhost:3000 (login with admin/admin)\n- **Prometheus Interface**: http://localhost:9090\n- **Raw Metrics Endpoint**: http://localhost:9000\n\nThese endpoints allow you to visualize and query node metrics directly without going through the job system.\n\n### Monitoring\n\nOnce the Reth node is running, you can access the monitoring dashboard:\n\n1. Open Grafana at [http://localhost:3000](http://localhost:3000)\n2. Log in with username: `admin`, password: `admin`\n3. Navigate to the Reth dashboard\n\n## Configuration\n\nThe blueprint can be configured through environment variables:\n\n- `RETH_TIP`: Set a custom block hash for the Reth node to sync up to (default: block 5,000,000)\n- `ENABLE_DOCKER_TESTS`: Set to `1` to enable Docker-based tests\n\n## Project Structure\n\n- `/reth_docker` - Submodule containing the local_reth repository\n- `/reth-node-blueprint-template-lib` - Library code for the blueprint\n  - `lib.rs` - Core functionality and state-changing job functions\n  - `monitoring.rs` - Data retrieval and monitoring functions\n  - `/bin/reth_cli.rs` - Standalone CLI tool for direct interaction\n- `/reth-node-blueprint-template-bin` - Binary code for running the blueprint\n\n### Running Tests\n\n```bash\n# Run tests without Docker integration\ncargo test\n\n# Run tests with Docker integration (requires Docker)\nENABLE_DOCKER_TESTS=1 cargo test\n```\n\n### Architecture\n\nThe blueprint follows a clean architecture pattern:\n\n1. The library (`reth-node-blueprint-template-lib`) provides core functionality:\n   - State-changing operations as job functions\n   - Monitoring utilities for data retrieval\n   - A standalone CLI tool for direct interaction\n2. The binary (`reth-node-blueprint-template-bin`) integrates with the Tangle Network and exposes job functions\n3. The `reth_docker` directory contains the Docker Compose configuration for running the Reth node\n\n## License\n\nThis project is licensed under the Apache License 2.0 - see the [LICENSE](LICENSE) file for details.\n\n## Acknowledgements\n\n- The Reth Docker Compose setup is based on the [local_reth](https://github.com/paradigmxyz/local_reth) project by Paradigm\n- Reth is maintained at [paradigmxyz/reth](https://github.com/paradigmxyz/reth)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftangle-network%2Freth-node-blueprint-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftangle-network%2Freth-node-blueprint-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftangle-network%2Freth-node-blueprint-template/lists"}