Skip to content

Releases: pinax-network/substreams-sink

v0.3.3

30 May 19:43
Compare
Choose a tag to compare
  • Added --metrics-disabled flag option to disable Prometheus metrics
  • Added head_block_number metric
  • Added head_block_time_drift metric
  • Fixed issue with --metrics-listen-address and --metrics-listen-port

v0.3.2

28 May 21:35
Compare
Choose a tag to compare
  • add --params flag
  • add Prometheus flags
    • metrics-listen-address
    • metrics-listen-port
  --metrics-listen-address                If non-empty, the process will listen on this address for
                                          Prometheus metrics requests
  --metrics-listen-port                   If non-empty, the process will listen on this port for
                                          Prometheus metrics requests
  -p, --params <string...>                Set a params for parameterizable modules. Can be specified
                                          multiple times. Ex: -p module1=valA -p module2=valX&valY
                                          (default: [])

Example

tsx example.ts run \
  https://github.com/pinax-network/substreams/releases/download/eosio.token-v0.12.0/eosio-token-v0.12.0.spkg \
  map_transfers -s -1 -e https://eos.firehose.eosnation.io:9001 --verbose \
  -p map_transfers=symcode=EOS 

v0.3.1

15 May 21:54
Compare
Choose a tag to compare

v0.2.1

05 May 20:31
Compare
Choose a tag to compare

Features in v0.2.1

  • includes --verbose flag
  • includes --production-mode flag

Features prior to v0.2.1

  • includes Commander.js helper CLI
  • includes Winston helper logger
  • includes Substreams run() helper method & RunOptions interface
  • handle reading/saving Substreams cursor.lock file
  • reads SUBSTREAMS_API_TOKEN from .env file