Webhooks

TIP

You can find the source code of this package at packages/core-webhooks.

Installation

yarn add @arkecosystem/core-webhooks

Alias

webhooks

Configuration

export const defaults = {
  enabled: process.env.CORE_WEBHOOKS_ENABLED,
  server: {
    host: process.env.CORE_WEBHOOKS_HOST || "0.0.0.0",
    port: process.env.CORE_WEBHOOKS_PORT || 4004,
    whitelist: ["127.0.0.1", "::ffff:127.0.0.1"]
  }
};