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.
_5use mirrorworld_sdk_rust::{ set_network, NetEnv };_5_5fn main() {_5 set_network(NetEnv::DEVNET);_5}
Edit this page on GitHub