Export Result
Hemera Indexer allows you to export the blockchain data to a PostgreSQL database, or to JSON/CSV files.
Export From PostgreSQL Database
Connect to Your Postgresql Instance
Use any PostgreSQL client to connect to your PostgreSQL instance, please make sure the user
, password
, and port
is the same as your configuration.
Run In Docker
By default, the PostgreSQL port is open on and mapped to port 5432 of your ec2 instance, you can verify or change it in the PostgreSQL section of the docker-compose.yaml
.
Configure Your Network
If you are using any cloud services, make sure the PostgreSQL port is accessible by updating the network rules.
If you are using AWS and EC2, you can check out this post on how to configure the security group.
Export To Output Files
Run In Docker
By default, the docker-compose.yaml
mounts the output
folder to docker-compose/output
, assuming that you are running from docker-compose
folder. You can find exported results in docker-compose/output
.
Run From Source Code
The database and exported file locations are the same as what you configured in OUTPUT
or --output
parameter.
E.g., If you specify the OUTPUT
or --output
parameter as below
You will be able to find those results in the output
folder of your current location.
Last updated