Options
All
  • Public
  • Public/Protected
  • All
Menu

Entire config for an indexer app built using Dappetizer. It corresponds to the value exported from a config file, see candidateConfigFileNames. If you intend to use standard Dappetizer DbContext, then DappetizerConfigUsingDb should be used instead.

example

Sample dappetizer.config.ts file with only mandatory values specified:

import { DappetizerConfig } from '@tezos-dappetizer/indexer';

const config: DappetizerConfig = {
modules: [
{
id: 'your-node-module-or-relative-path',
config: 'module-config',
},
],
networks: {
mainnet: {
indexing: {
fromBlockLevel: 1796556,
},
tezosNode: {
url: 'https://mainnet-tezos.giganode.io',
},
},
testnet: {
indexing: {
fromBlockLevel: 856123,
},
tezosNode: {
url: 'https://testnet-tezos.giganode.io',
},
},
},
};

export default config;

Hierarchy

Index

Properties

Configures HTTP server of this indexer app mainly for monitoring.

Configures connections to IPFS for metadata retrieval.

Configures logging of app execution.

modules: NonEmptyArray<{ config?: unknown; id: string }>

The non-empty array of IndexerModule to be executed for indexing.

networks: {}

The indexing config specific for particular Tezos networks e.g. mainnet.

Type declaration

Configures generic time related features.

Generated using TypeDoc