-
Notifications
You must be signed in to change notification settings - Fork 0
/
mod.rs
18 lines (17 loc) · 902 Bytes
/
mod.rs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! # RPC Runner
//! This module contains a runner that can be used to interact with a blockchain via an RPC node.
//! It implements the `CwItRunner` trait to be compatible with all the other runners in this crate.
//! There are some fundamental differences between this runner and the others.
//!
//! 1. Since we are only interacting with the blockchain via RPC and are not controlling the entire chain.
//! This means that to initialize accounts with the `init_account` method a funding account is required.
//! This funding account is used to send tokens to the account that is being initialized, which means that the
//! funding account must have enough tokens to initialize all the accounts that are being initialized.
//!
//! 2. The `increase_time` function will panic as it is not implementable via RPC.
pub mod chain;
pub mod config;
pub mod error;
mod helpers;
mod runner;
pub use runner::*;