thenodes 0.2.0

TheNodes is a modular, plugin-driven P2P node framework for Rust, supporting node-embedded plugins (NEP) and core-as-a-library (CAL) modes with async-first APIs.
Documentation
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;
}