Module network

Module network 

Source
Expand description

All builtin network types and traits.

Currently the builtin network types are Mainnet, Testnet, and Sandbox.

Re-exports§

pub use self::custom::Custom;
pub use self::mainnet::Mainnet;
pub use self::testnet::Testnet;

Modules§

custom
mainnet
testnet

Structs§

Info
Sandbox
Local sandboxed environment/network, which can be used to test without interacting with networks that are online such as mainnet and testnet. Look at workspaces::sandbox for how to spin up a sandboxed network and interact with it.

Enums§

ValidatorKey

Traits§

AllowDevAccountCreation
NetworkClient
NetworkInfo
TopLevelAccountCreator

Functions§

pick_unused_port
Request an unused port from the OS.