import { SECRET_NETWORKS } from 'types' ; export const accountExplorer = ( network ) => ( address ) => { if ( network === SECRET_NETWORKS . TESTNET ) { return `https://secretnodes.com/secret/chains/supernova-2/accounts/${ address }` ; } else { return `https://secretnodes.com/secret/chains/supernova-2/account/${ address }` ; } } ; export const transactionUrl = ( hash ) => `https://secretnodes.com/secret/chains/supernova-2/transactions/${ hash }` ; export const contractsUrl = ( hash ) => `https://secretnodes.com/secret/chains/supernova-2/contracts/${ hash }` ; export const getNodeUrl = ( ) => 'http://bootstrap.supernova.enigma.co:1317' ;