An open API service indexing awesome lists of open source software.

https://github.com/taikoxyz/alethia-reth

A high-performance Rust execution client for the Taiko protocol.
https://github.com/taikoxyz/alethia-reth

ethereum reth rust taiko

Last synced: about 2 months ago
JSON representation

A high-performance Rust execution client for the Taiko protocol.

Awesome Lists containing this project

README

          

# alethia-reth

[![CI](https://github.com/taikoxyz/alethia-reth/actions/workflows/ci.yml/badge.svg)](https://github.com/taikoxyz/alethia-reth/actions/workflows/ci.yml)

A high-performance Rust execution client for the Taiko protocol, built on top of [Reth](https://github.com/paradigmxyz/reth) powerful [`NodeBuilder` API](https://reth.rs/introduction/why-reth#infinitely-customizable), designed to deliver the best possible developer and maintenance experience.

## Getting Started

### 1. Clone the Repository

```bash
git clone https://github.com/taikoxyz/alethia-reth.git
cd alethia-reth
```

### 2. Build

Build by `Cargo`:

```bash
cargo build --release
```

The main binary will be located at `target/release/alethia-reth`.

### 3. Run Checks and Tests

To ensure everything is set up correctly, run the checks and tests:

```bash
just test
```

## Running the Node

To run the compiled node:

```bash
./target/release/alethia-reth [OPTIONS]
```

To see available command-line options and subcommands, run:

```bash
./target/release/alethia-reth --help
```

_(Note: Replace `[OPTIONS]` with the necessary configuration flags for your setup. Refer to the `--help` output for details.)_

## Docker

### 1. Build the Docker Image

```bash
docker build -t alethia-reth .
```

### 2. Run the Docker Container

```bash
docker run -it --rm alethia-reth [OPTIONS]
```

_(Note: You might need to map ports (`-p`), mount volumes (`-v`) for data persistence, or pass environment variables (`-e`) depending on your node's configuration needs.)_

## Configuration

Alethia-reth uses reth-compatible CLI options plus Taiko chain presets.

### Chain Selection

Use `--chain` with one of the supported presets:
- `mainnet`
- `taiko-hoodi`
- `devnet`
- `masaya`

### Common Runtime Flags

- `--datadir ` to set node data location.
- `--http` / `--ws` to enable RPC transports.
- `--authrpc.addr ` and `--authrpc.port ` for Engine API auth RPC.
- `--metrics ` to expose Prometheus metrics.

Use `./target/release/alethia-reth --help` for the full option list and defaults.

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.