This repository was archived by the owner on Mar 26, 2026. It is now read-only.
v0.1.0
Substreams Google Sheets sink module
substreams-sink-sheetspushes Substreams DatabaseChanges mapdb_outoutputs to Google Sheets.
Further resources
CLI
- MacOS
- Linux
- Windows
Install globally via npm
$ npm install -g substreams-sink-sheets
Run
$ substreams-sink-sheets run [options] <spkg>
Features
- Consume
*.spkgfrom:- Load URL or IPFS
- Read from
*.spkglocal filesystem - Read from
substreams.yaml
- List compatible modules from
.spkg
- GoogleSheet API support
- Authenticate via JWT credentials
- Append row to sheet
- Work with different credentials (service account, OAuth, etc.)
- Permission checking for editing
- Select columns to output
- Time (
date,year,month,day,timestamp,seconds) - Block (
block_num) -
DatabaseChanges - Add missing columns headers to sheet if not present
- Time (
- Create a new sheet if no
spreadsheetIdspecified - Set
start-block&end-block - Select
outputModule(defaultdb_out) - Select Substream endpoint (default
mainnet.eth.streamingfast.io:443) DatabaseChangessupport- UNSET
- CREATE
- UPDATE
- DELETE
- Rate limiting
- 1 request per second (Google rate limit is 100 requests per 100 seconds)
- Batch updates