blvm-sdk 0.1.5

Bitcoin Commons software developer kit, governance infrastructure and composition framework for Bitcoin
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Prelude for module development
//!
//! Re-exports commonly used types and macros for building BLVM modules.

pub use crate::module::{
    open_module_db, run_async, InvocationContext, ModuleBootstrap, ModuleContext, ModuleDb,
    ModuleError, ModuleIpcClient, ModuleManifest, ModuleMessage, ModuleMetadata, ModuleState,
    NodeAPI,
};
pub use crate::{migrations, register_rpc_methods};
pub use blvm_sdk_macros::{
    arg, blvm_module, cli_subcommand, command, config, config_env, event_handlers, migration,
    module, module_cli, module_config, on_event, rpc_method, rpc_methods,
};