Skip to main content

fedimint_cli/
envs.rs

1// Env variable to set the working directory of the client containing the config
2// and db
3pub const FM_CLIENT_DIR_ENV: &str = "FM_CLIENT_DIR";
4
5// Env variable to set the peer id of the guardian
6pub const FM_OUR_ID_ENV: &str = "FM_OUR_ID";
7
8// Env variable to set the guardian password for authentication
9pub const FM_PASSWORD_ENV: &str = "FM_PASSWORD";
10
11// Env variable to set a federation secret as consensus-encoded hex.
12pub const FM_FEDERATION_SECRET_HEX_ENV: &str = "FM_FEDERATION_SECRET_HEX";
13
14// Env variable to use Tor connector, instead of default Tcp/ClearNet.
15pub const FM_USE_TOR_ENV: &str = "FM_USE_TOR";
16
17pub const FM_IROH_ENABLE_DHT_ENV: &str = "FM_IROH_ENABLE_DHT";
18
19pub const FM_IROH_ENABLE_NEXT_ENV: &str = "FM_IROH_ENABLE_NEXT";
20
21// Api authentication secret
22pub const FM_API_SECRET_ENV: &str = "FM_API_SECRET";
23
24// Env variable to select database backend (rocksdb or cursed-redb)
25pub const FM_DB_BACKEND_ENV: &str = "FM_DB_BACKEND";
26
27/// Salt backup for combining with the private key
28pub const SALT_FILE: &str = "private.salt";