streamingfast / substreams

Powerful Blockchain streaming data engine, based on StreamingFast Firehose technology.
Apache License 2.0
159 stars 45 forks source link

update `deriveFrom` example #349

Closed DenisCarriere closed 9 months ago

DenisCarriere commented 9 months ago

Update example for deriveFrom

Issues

References

Not working example ❌

deriveFrom: path/to/mainnet-substreams.spkg #this can also be a remote url

package:
  name: "polygon-substreams"
  version: "100.0.0"

network: polygon

initialBlocks:
  module1: 17500000
params:
  module1: "address=2a75ca72679cf1299936d6104d825c9654489058"

Working example ✅

deriveFrom: path/to/mainnet-substreams.spkg #this can also be a remote url

package:
  name: polygon_substreams
  version: v100.0.0

network: polygon

initialBlocks:
  module1: 17500000
params:
  module1: "address=2a75ca72679cf1299936d6104d825c9654489058"
sduchesneau commented 9 months ago

We are getting rid of the deriveFrom feature as soon as this comes in: https://github.com/streamingfast/substreams/issues/351