bifrost-subql-node
v0.25.1-beta.3
Published
## Description
Downloads
9
Readme
@subql-node
Description
Indexer service in our @subql toolkit, can load user's subquery then fetch, process and persist to db accordingly.
Installation
$ npm i -g @subql/node
Running the app
$> subql-node
Options:
--help Show help [boolean]
--version Show version number [boolean]
-f, --subquery Local path of the subquery project [string]
--subquery-name Name of the subquery project [string]
-c, --config Specify configuration file [string]
--local Use local mode [boolean]
--force-clean Force clean the database, dropping project schemas
and tables [boolean]
--batch-size Batch size of blocks to fetch in one round [number]
--timeout Timeout for indexer sandbox to execute the mapping
functions [number]
--debug Show debug information to console output. will
forcefully set log level to debug
[boolean] [default: false]
--profiler Show profiler information to console output
[boolean] [default: false]
--network-endpoint Blockchain network endpoint to connect [string]
--output-fmt Print log as json or plain text
[string] [choices: "json", "colored"]
--log-level Specify log level to print. Ignored when --debug is
used
[string] [choices: "fatal", "error", "warn", "info", "debug", "trace",
"silent"]
--migrate Migrate db schema (for management tables only)
[boolean] [default: false]
--timestamp-field Enable/disable created_at and updated_at in schema
[boolean] [default: true]
-d, --network-dictionary Specify the dictionary api for this network [string]
-m, --mmr-path Local path of the merkle mountain range (.mmr) file
[string]
--proof-of-index Enable/disable proof of index
[boolean] [default: false]
-p, --port The port the service will bind to
[number] [default: 3000]
License
Apache-2.0