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 use Tor connector, instead of default Tcp/ClearNet.
12pub const FM_USE_TOR_ENV: &str = "FM_USE_TOR";
13
14pub const FM_IROH_ENABLE_DHT_ENV: &str = "FM_IROH_ENABLE_DHT";
15
16pub const FM_IROH_ENABLE_NEXT_ENV: &str = "FM_IROH_ENABLE_NEXT";
17
18// Api authentication secret
19pub const FM_API_SECRET_ENV: &str = "FM_API_SECRET";
20
21// Env variable to select database backend (rocksdb or cursed-redb)
22pub const FM_DB_BACKEND_ENV: &str = "FM_DB_BACKEND";
23
24/// Salt backup for combining with the private key
25pub const SALT_FILE: &str = "private.salt";