quiseos
Version:
EVM Networks & Node Providers Parameters Documentation
64 lines (61 loc) • 2.18 kB
text/typescript
import { BlockExplorerStandard, BlockExplorerType } from '../enums'
import { type Network } from '../types/types'
import { cronosProvider } from '../providers'
export const cronosTestnet = {
id: 338,
name: 'Cronos Testnet',
network: 'cronos-testnet',
infoUrl: 'https://cronos.org/',
docsUrl: 'https://docs.cronos.org/getting-started/readme/',
eipUrl: 'https://github.com/ethereum-lists/chains/blob/master/_data/chains/eip155-338.json',
nativeCurrency: {
name: 'Cronos',
symbol: 'TCRO',
uSymbol: 'baseTCRO',
decimals: 18,
},
rpcNodes: {
cronos: {
http: ['https://evm-t3.cronos.org/'],
provider: cronosProvider,
authenticated: false,
},
public: {
http: ['https://evm-t3.cronos.org/'],
provider: cronosProvider,
authenticated: false,
},
default: {
http: ['https://evm-t3.cronos.org/'],
provider: cronosProvider,
authenticated: false,
},
},
blockExplorers: {
cronosExplorer: {
name: 'Cronos Explorer',
type: BlockExplorerType.Blockscout,
browserUrl: 'https://cronos.org/explorer/',
apiUrl: 'https://cronos.org/explorer/api/',
docsUrl: 'https://cronos.org/explorer/api-docs/',
standard: BlockExplorerStandard.TBD,
},
cronosScan: {
name: 'CronosScan Testnet',
type: BlockExplorerType.Etherscan,
browserUrl: 'https://testnet.cronoscan.com/',
apiUrl: 'https://api-testnet.cronoscan.com/api/',
docsUrl: 'https://testnet.cronoscan.com/apis',
standard: BlockExplorerStandard.None,
},
default: {
name: 'CronosScan Testnet',
type: BlockExplorerType.Etherscan,
browserUrl: 'https://testnet.cronoscan.com/',
apiUrl: 'https://api-testnet.cronoscan.com/api/',
docsUrl: 'https://testnet.cronoscan.com/apis',
standard: BlockExplorerStandard.None,
},
},
testnet: true,
} as const satisfies Network