You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,23 +6,23 @@ This is an implementation for indexing the FAsset protocol smart contract operat
6
6
1.**FAsset Indexer XRP**: scrapes the Ripple chain (testnet or mainnet) for transactions relating to the FAsset system.
7
7
1.**FAsset Indexer Api**: nestjs based API to query the indexed data.
8
8
9
-
Initialize the project by running `yarn install`.
9
+
If running outside docker, initialize the project by running `yarn install`.
10
10
11
11
## FAsset Indexer Core
12
12
13
13
Needs the following environment variables:
14
14
15
15
-**CHAIN**: needs to be set to either `coston`, `coston2`, `songbird`, or `flare`;
16
16
-**RPC_URL**: needs be set to the rpc of the matching chain;
17
-
-**RPC_API_KEY**: should be set to the `x-apikey` or `x-api-key` header value accepted by the rpc url;
17
+
-**RPC_API_KEY**: should be set to the `x-apikey` or `x-api-key` header value accepted by the rpc;
18
18
-**DB_TYPE**: needs to be set to either `sqlite` or `postgres`;
19
19
-**DB_PORT**: needs to be set for non-sqlite database type;
20
20
-**DB_HOST**: needs to be set for non-sqlite database type;
21
21
-**DB_USER**: needs to be set for non-sqlite database type;
22
22
-**DB_PASSWORD**: needs to be set for non-sqlite database type.
23
23
-**DB_SCHEMA_UPDATE_TYPE**: should be set to `full` after a major update, otherwise should be set to `safe`.
24
24
25
-
If new event want to be added to tracking without stopping the indexer, you should set:
25
+
If new events want to be added to tracking without stopping the indexer, you should set:
26
26
27
27
-**REINDEX_TYPE**: should be set to either `back` or `race`:
28
28
- Back indexer spawns two indexers, one indexing missing events from the beginning to the block last indexed by the previous indexer instance. The second indexer indexes all (including new) events from the previous.
0 commit comments