Skip to content

Create Publication

We are looking for publications that demonstrate building dApps or smart contracts!
See the full list of Gitcoin bounties that are eligible for rewards.

conduit importers filereader


Config

keytypedescription
block-dirstringblock-dir is the path to a directory where block data is stored.
retry-durationtime.Duration retry-duration controls the delay between checks when the importer has caught up and is waiting for new blocks to appear.
The input duration will be interpreted in nanoseconds.
retry-countuint64 retry-count controls the number of times to check for a missing block before generating an error. The retry count and retry duration should be configured according the expected round time.
filename-patternstring filename-pattern is the format used to find block files. It uses go string formatting and should accept one number for the round. The default pattern is "%[1]d_block.json"