Skip to content
This repository has been archived by the owner on Aug 4, 2020. It is now read-only.

Default Network

David García edited this page Nov 18, 2018 · 2 revisions

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

Changing the network

  1. Open src/app/ and open app.component.ts.
    constructor(...) {
         NEMLibrary.bootstrap(NetworkTypes.TEST_NET);
         ...
    }
  1. Replace the network type if you want to use MAINNET:

NEMLibrary.bootstrap(NetworkTypes.MAIN_NET);

Clone this wiki locally