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
14// Api authentication secret
15pub const FM_API_SECRET_ENV: &str = "FM_API_SECRET";
16
17// Env variable to select database backend (rocksdb or cursed-redb)
18pub const FM_DB_BACKEND_ENV: &str = "FM_DB_BACKEND";
19
20/// Salt backup for combining with the private key
21pub const SALT_FILE: &str = "private.salt";