set_network
Sets the current network from the SDK instance. This will accept either
NetEnv::DEVNET
or NetEnv::DEVNET
. These variables can be imported from the NetEnv
module.
use mirrorworld_sdk_rust::{ set_network, NetEnv };fn main() { set_network(NetEnv::DEVNET);}
Edit this page on GitHub