ln_gateway

Module envs

Source

Constants§

  • Environment variable that specifies the address that the Core Lightning extension should listen on. Will be removed in v0.6
  • Environment variable that instructs the gateway to run in “debug mode”, which allows errors to return to clients without redacting private information.
  • Environment variable that specifies the default routing fees the gateway takes for outgoing and incoming payments. Only applied to newly joined federations.
  • Environment variable that specifies the URL that clients can use to make requests to the gateway.
  • Environment variable that specifies the directory of the gateway’s database.
  • Environment variable that specifies the URL that the gateway can use to connect to the Core Lightning extension. Will be removed in v0.6.
  • Environment variable that specifies the “module mode” the gateway should run in. Options are “LNv1”, “LNv2”, or “All”. It is not recommended to run “All” in production so that clients are not able to use the same gateway to create LNv1 and LNv2 invoices.
  • Environment variable that specifies the address the gateway’s HTTP server should listen on.
  • Environment variable that specifies the mnemonic that the gateway should use for ecash and the LDK Node should use for onchain funds. If not set, a mnemonic will be generated. This environment variable can be used for recovering from an existing mnemonic.
  • Environment variable that specifies that Bitcoin network that the gateway should use. Must match the network of the Lightning node.
  • Environment variable that specifies the password. This is only applied if there is no password set, otherwise it is ignored.
  • Environment variable that specifies the URL of an Esplora server. Necessary for LDK configuration.
  • Environment variable that specifies the Bitcoin network that the LDK Node should use. Must match FM_GATEWAY_NETWORK. Necessary for LDK configuration.
  • Environment variable that specifies the location of LND’s macaroon. Necessary for LND configuration.
  • Environment variable that specifies the URL to connect to LND. Necessary for LND configuration.
  • Environment variable that specifies the location of LND’s TLS certificate. Necessary for LND configuration.
  • Environment variable that instructs the gateway how many route hints to include in LNv1 invoices.
  • Environment variable the specifies the port that the LDK Node should use. Necessary for LDK configuration.