Skip to main content
BETA
HomeIntegration BuilderAPI ReferenceGuidesChangelog
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.


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

Edit this page on GitHub

Copyright © Mirror World, Inc. 2023
On this page

    Home

    Integration

    Guides

    API Reference

    Changelog