- Java (11 or 17 is recommended)
- A running full-node
Download Application File
explorer-backend-x.x.x.jar from Github release.
Create the database:
- Start the
- Login to the PostgreSQL shell with the default
psql postgres # or `psql -U postgres` depending on your OS
- Ensure that the
postgresrole exists, and if not, create it. List all roles:Create
postgres=# CREATE ROLE postgres WITH LOGIN;
- Then, create the database:
postgres=# CREATE DATABASE explorer;
Start your exlporer-backend
java -jar explorer-backend-x.x.x.jar
Your explorer-backend will start to sync with the full node. It might take long the first time
Start from a snapshot
To reduce the first syncing time, you can restore one of our snapshot.
Snapshots are available at https://archives.alephium.org/#mainnet/explorer-db/
Download the latest one and run:
psql explorer < explorer-db-xxx.pg_dump
Please note that the
explorer database must have been created before and be empty.