fedimint_gateway_common/
envs.rs

1/// Environment variable that specifies the URL to connect to LND. Necessary for
2/// LND configuration.
3pub const FM_LND_RPC_ADDR_ENV: &str = "FM_LND_RPC_ADDR";
4
5/// Environment variable that specifies the location of LND's TLS certificate.
6/// Necessary for LND configuration.
7pub const FM_LND_TLS_CERT_ENV: &str = "FM_LND_TLS_CERT";
8
9/// Environment variable that specifies the location of LND's macaroon.
10/// Necessary for LND configuration.
11pub const FM_LND_MACAROON_ENV: &str = "FM_LND_MACAROON";
12
13/// Environment variable that specifies the URL of an Esplora server.
14/// Necessary for LDK configuration if using esplora as the backend.
15pub const FM_LDK_ESPLORA_SERVER_URL: &str = "FM_LDK_ESPLORA_SERVER_URL";
16
17/// Environment variable that specifies the bitcoind node.
18/// Necessary for LDK configuration if using bitcoind as the backend.
19pub const FM_LDK_BITCOIND_RPC_URL: &str = "FM_LDK_BITCOIND_RPC_URL";
20
21/// Environment variable that specifies the Bitcoin network that the LDK Node
22/// should use. Must match `FM_GATEWAY_NETWORK`. Necessary for LDK
23/// configuration.
24pub const FM_LDK_NETWORK: &str = "FM_LDK_NETWORK";
25
26/// Environment variable the specifies the port that the LDK Node should use.
27/// Necessary for LDK configuration.
28pub const FM_PORT_LDK: &str = "FM_PORT_LDK";
29
30/// The alias for the LDK Node
31pub const FM_LDK_ALIAS_ENV: &str = "FM_LDK_ALIAS";