CEP_Account.setNetwork()

With this method you can set the network where you create and search your certificates.

Function Signature

setNetwork(network)

Parameters

Parameter Name
Datatype

network

String

Example

const Address = 'your-wallet-address';

let account = new CEP_Account();

//...
account.setNetwork("mainnet"); //Chose between mainnet, testnet and devnet
    
//...

Last updated