spl-forge 0.1.0

A CLI toolkit for creating and managing SPL assets on Solana
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use clap::Parser;
use spl_forge::cli::Args;
use spl_forge::common::error::ErrorLog;
use spl_forge::run;

#[tokio::main]
async fn main() -> anyhow::Result<()> {
    let args = Args::parse();
    if let Err(error) = run(args).await {
        ErrorLog::error_log(&error);
        std::process::exit(1);
    }
    Ok(())
}