- installation guide
1. Install Rust
Pathfinder is written in Rust and requires the stable version. If Rust is not installed, run:
Restart your terminal or run:
Verify the installation:
2. Clone the Pathfinder Repository
3. Build Pathfinder
After successful compilation, the binary will be located at: ./target/release/pathfinder
4. Run Pathfinder
Pathfinder requires you to specify an Ethereum RPC URL (for example, Infura or Alchemy) and a database path.
Example command:
5. (Optional) Docker Installation
If you prefer Docker:
6. Additional Launch Parameters
--http-rpc=127.0.0.1:9545 — to open the RPC interface.
--network=mainnet or --network=goerli — to select the network.