Modify the config file indexer/config.toml
./indexer
export DATABASE_URL=postgres://{user}:{password}@{host}/{db}
Use scanner/schema.sql
to create tables in DB.
./scanner --node <node RPC> --start <block number> --interval <interval>
node
is required.start
is not required, starting from4636000
by default.interval
is not required, default value is15
in seconds.
Modify the config file in updater/config.toml
./updater