(async() => {
SOLPay.networks.mainnet.SOLANA // Solana mainnet endpoint
SOLPay.networks.mainnet.SERUM // Project Serum mainnet endpoint
SOLPay.networks.mainnet.TRITON // Triton/RPC Pool mainnet endpoint
SOLPay.networks.mainnet.PHANTOM // Phantom mainnet endpoint
SOLPay.networks.mainnet.GENESYSGO // GenesysGo mainnet endpoint
SOLPay.networks.mainnet.SOLANAPAY // Solana Pay/GenesysGo endpoint
SOLPay.networks.devnet.SOLANA // Solana devnet endpoint
SOLPay.networks.testnet.SOLANA // Solana testnet endpoint
await SOLPay.connectNetwork(SOLPay.networks.mainnet.SOLANA); // {"network": "https://api.mainnet-beta.solana.com", "commitment": "confirmed"}
await SOLPay.connectNetwork(SOLPay.networks.mainnet.SERUM); // {"network": "https://solana-api.projectserum.com", "commitment": "confirmed"}
await SOLPay.connectNetwork(SOLPay.networks.mainnet.TRITON); // {"network": "https://free.rpcpool.com", "commitment": "confirmed"}
await SOLPay.connectNetwork(SOLPay.networks.mainnet.PHANTOM); // {"network": "https://solana-mainnet.phantom.tech", "commitment": "confirmed"}
await SOLPay.connectNetwork(SOLPay.networks.mainnet.GENESYSGO); // {"network": "https://ssc-dao.genesysgo.net", "commitment": "confirmed"}
await SOLPay.connectNetwork(SOLPay.networks.mainnet.SOLANAPAY); // {"network": "https://solanapay.genesysgo.net", "commitment": "confirmed"}
await SOLPay.connectNetwork(SOLPay.networks.devnet.SOLANA); // {"network": "https://api.devnet.solana.com", "commitment": "confirmed"}
await SOLPay.connectNetwork(SOLPay.networks.testnet.SOLANA); // {"network": "https://api.testnet.solana.com", "commitment": "confirmed"}
})();