thru 0.2.13

Command-line interface for the Thru blockchain
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! `thru` — canonical binary for the Thru blockchain CLI.
//!
//! This is a thin wrapper around [`thru_core::run`].

use anyhow::Result;
use tracing_subscriber::{EnvFilter, fmt, prelude::*};

#[tokio::main]
async fn main() -> Result<()> {
    tracing_subscriber::registry()
        .with(fmt::layer())
        .with(EnvFilter::from_default_env())
        .init();

    thru_core::run().await
}