1 2 3 4 5 6 7 8 9 10 11 12
// examples/simple_node.rs (Standalone App Using TheNodes) use thenodes::{config::Config, TheNodes}; #[tokio::main] async fn main() { let config = Config::default(); let node = TheNodes::new(config); println!("Starting TheNodes..."); node.start().await; }