An open-source blockchain explorer for Aleo.
It contains a node that connects to another peer to fetch blockchain data. This node is NOT validating blocks. Only connect to peers that you trust.
This branch uses Postgres for all data storage. Redis is no longer required, and (almost) full data history is stored in the database.
You will need to resync from scratch if you are switching from the mainnet branch.
- Python 3.10 or 3.11.4+ (3.11.0 - 3.11.3 won't work)
- Postgres 14+
- Rust 1.81+
- aleo-explorer-rust
- aleo-explorer-wasm (optional for old frontend)
- (optional)
setproctitlefor custom process names
- Import the database schema from
pg_dump.sql. - Configure through
.envfile. See.env.examplefor reference. - Install dependencies with
uv sync(this will installaleo-explorer-rust; Rust toolchain is still required). If not using uv, installrequirements.txtandaleo-explorer-rustmanually. - Compile
aleo-explorer-wasm, install towebui/static/rust{.js,_bg.wasm}withwasm-bindgen. (not working right now) - Run with
uv run python -m main(orPYTHONPATH=src python -m mainif not installed).
docker-compose up -dA new frontend is being developed in aleo-explorer-frontend. You can preview it if you can find the deployment URL.
As such, the current frontend code contained in this repository (webui) is planned to be deprecated. The new frontend uses webapi to communicate with the backend.
AGPL-3.0-or-later