2022-12-02 16:24:03 +00:00
|
|
|
use config::CliConfig;
|
|
|
|
use eyre::Result;
|
|
|
|
|
|
|
|
use helios::prelude::*;
|
|
|
|
|
|
|
|
#[tokio::main]
|
|
|
|
async fn main() -> Result<()> {
|
|
|
|
// Load the config from the global config file
|
|
|
|
let config_path = home::home_dir().unwrap().join(".helios/helios.toml");
|
|
|
|
let config = Config::from_file(&config_path, "mainnet", &CliConfig::default());
|
2022-12-03 15:58:58 +00:00
|
|
|
println!("Constructed config: {config:#?}");
|
2022-12-02 16:24:03 +00:00
|
|
|
|
|
|
|
Ok(())
|
|
|
|
}
|