Skip to content

Default Network

NEMPay allows compiling apps that use the NEM's MAINNET or TESTNET, just changing a line of code.

As MIJIN is not supported in NEMLibrary, we don't provide Mijin integration by default. However, contact us you required to find a solution.

Change default network

Go to src/providers/nem/ and open nem.provider.ts.

constructor(...) {
    NEMLibrary.bootstrap(NetworkTypes.TEST_NET);
    ...
}

Use this line if you want to use TESTNET.

  • NEMLibrary.bootstrap(NetworkTypes.TEST_NET);

or this one if you want to use MAINNET

  • NEMLibrary.bootstrap(NetworkTypes.MAIN_NET);