Skip to main content
BETA
HomeIntegration BuilderAPI ReferenceGuides
View Mirror World on Github
Join the Discord server

Language:

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.


_5
use mirrorworld_sdk_rust::{ set_network, NetEnv };
_5
_5
fn main() {
_5
set_network(NetEnv::DEVNET);
_5
}

Edit this page on GitHub

Copyright © Mirror World, Inc. 2023
On this page

    Home

    Tutorials

    Guides

    API Reference