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 explorer-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, extract it, and run:
psql explorer < explorer-db-xxx.pg_dump
Please note that the
explorer database must have been created before and be empty.