From 289b9005a04a35dd7b25282e75b60893c5d9a258 Mon Sep 17 00:00:00 2001 From: medvedev1088 Date: Mon, 20 Dec 2021 01:40:25 +0800 Subject: [PATCH] Update docs --- docs/commands.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/commands.md b/docs/commands.md index fa7e5c9..f5bd98a 100644 --- a/docs/commands.md +++ b/docs/commands.md @@ -207,11 +207,13 @@ You can tune `--batch-size`, `--max-workers` for performance. - This command outputs blocks, transactions, logs, token_transfers to the console by default. - Entity types can be specified with the `-e` option, e.g. `-e block,transaction,log,token_transfer,trace,contract,token`. -- Use `--output` option to specify the Google Pub/Sub topic or Postgres database where to publish blockchain data, +- Use `--output` option to specify the Google Pub/Sub topic, Postgres database or GCS bucket where to publish blockchain data, - For Google PubSub: `--output=projects//topics/crypto_ethereum`. Data will be pushed to `projects//topics/crypto_ethereum.blocks`, `projects//topics/crypto_ethereum.transactions` etc. topics. - For Postgres: `--output=postgresql+pg8000://:@:/`, - e.g. `--output=postgresql+pg8000://postgres:admin@127.0.0.1:5432/ethereum`. + e.g. `--output=postgresql+pg8000://postgres:admin@127.0.0.1:5432/ethereum`. + - For GCS: `--output=gs://`. Make sure to install and initialize `gcloud` cli. + - Those output types can be combined with a comma e.g. `--output=gs://,projects//topics/crypto_ethereum` The [schema](https://github.com/blockchain-etl/ethereum-etl-postgres/tree/master/schema) and [indexes](https://github.com/blockchain-etl/ethereum-etl-postgres/tree/master/indexes) can be found in this repo [ethereum-etl-postgres](https://github.com/blockchain-etl/ethereum-etl-postgres).