20
20
// EthKovan Testnet(POA)
21
21
EthKovan Network = Network {"Ethereum Kovan" , "eth_kovan" , "test" , "https://api-kovan.etherscan.io/api?" }
22
22
// EthRinkby Testnet(CLIQUE)
23
- EthRinkby Network = Network {"Ethereum Rinkby" , "eth_rinkby " , "test" , "https://api-rinkeby.etherscan.io/api?" }
23
+ EthRinkby Network = Network {"Ethereum Rinkby" , "eth_rinkeby " , "test" , "https://api-rinkeby.etherscan.io/api?" }
24
24
// EthGoerli Testnet(CLIQUE)
25
25
EthGoerli Network = Network {"Ethereum Goerli" , "eth_goerli" , "test" , "https://api-goerli.etherscan.io/api?" }
26
26
// EthTobalaba Testnet
@@ -37,57 +37,91 @@ var (
37
37
AvaxMainnet Network = Network {"Avax" , "avax" , "main" , "https://api.snowtrace.io/api?" }
38
38
// AvaxTestnet Avalanche testnet for development
39
39
AvaxTestnet Network = Network {"Avax test" , "avax_test" , "test" , "https://api-testnet.snowtrace.io/api?" }
40
+ // Fantom mainnet for production
41
+ FantomMainnet Network = Network {"Fantom" , "fantom" , "main" , "https://api.ftmscan.com/api?" }
42
+ // FantomTestNet
43
+ FantomTestnet Network = Network {"Fantom test" , "fantom_test" , "test" , "https://api-testnet.ftmscan.com/api?" }
44
+ // Cronos mainnet for production
45
+ CronosMainnet Network = Network {"Cronos" , "cronos" , "main" , "https://api-testnet.ftmscan.com/api?" }
46
+ // Cronos test net
47
+ CronosTestnet Network = Network {"Cronos test" , "cronos_test" , "test" , "https://api-testnet.cronoscan.com/api?" }
48
+ // Arbitrum mainnet for production
49
+ ArbitrumMainnet Network = Network {"Arbitrum" , "arbitrum" , "main" , "https://api.arbiscan.io/api?" }
50
+ // Arbitrum test net
51
+ ArbitrumTestnet Network = Network {"Arbitrum test" , "arbitrum_test" , "test" , "https://api-testnet.arbiscan.io/" }
40
52
41
53
networks = map [string ]* Network {
42
- EthMainnet .Name : & EthMainnet ,
43
- EthMainnet .CommonName : & EthMainnet ,
44
- "ethmainnet" : & EthMainnet ,
45
- "ethereum" : & EthMainnet ,
46
- "eth" : & EthMainnet ,
47
- EthRopsten .Name : & EthRopsten ,
48
- EthRopsten .CommonName : & EthRopsten ,
49
- "ethropsten" : & EthRopsten ,
50
- "ropsten" : & EthRopsten ,
51
- EthKovan .Name : & EthKovan ,
52
- EthKovan .CommonName : & EthKovan ,
53
- "ethkovan" : & EthKovan ,
54
- EthRinkby .Name : & EthRinkby ,
55
- EthRinkby .CommonName : & EthRinkby ,
56
- "ethrinkby" : & EthRinkby ,
57
- EthGoerli .Name : & EthGoerli ,
58
- EthGoerli .CommonName : & EthGoerli ,
59
- "ethgoerli" : & EthGoerli ,
60
- EthTobalaba .Name : & EthTobalaba ,
61
- EthTobalaba .CommonName : & EthTobalaba ,
62
- "ethtobalaba" : & EthTobalaba ,
63
- MaticMainnet .Name : & MaticMainnet ,
64
- MaticMainnet .CommonName : & MaticMainnet ,
65
- "maticmainnet" : & MaticMainnet ,
66
- "polygon" : & MaticMainnet ,
67
- "matic" : & MaticMainnet ,
68
- MaticTestnet .Name : & MaticTestnet ,
69
- MaticTestnet .CommonName : & MaticTestnet ,
70
- "matictestnet" : & MaticTestnet ,
71
- "mumbai" : & MaticTestnet ,
72
- BscMainnet .Name : & BscMainnet ,
73
- BscMainnet .CommonName : & BscMainnet ,
74
- "bscmainnet" : & BscMainnet ,
75
- "binance" : & BscMainnet ,
76
- BscTestnet .Name : & BscTestnet ,
77
- BscTestnet .CommonName : & BscTestnet ,
78
- "bsctestnet" : & BscTestnet ,
79
- AvaxMainnet .Name : & AvaxMainnet ,
80
- AvaxMainnet .CommonName : & AvaxMainnet ,
81
- "avalanche" : & AvaxMainnet ,
82
- "avax" : & AvaxMainnet ,
83
- "avaxmainnet" : & AvaxMainnet ,
84
- "avalanchemainnet" : & AvaxMainnet ,
85
- AvaxTestnet .Name : & AvaxTestnet ,
86
- AvaxTestnet .CommonName : & AvaxTestnet ,
87
- "avaxtestnet" : & AvaxTestnet ,
88
- "avalanchetestnet" : & AvaxTestnet ,
89
- "avaxfuji" : & AvaxTestnet ,
90
- "avalanchefuji" : & AvaxTestnet ,
54
+ EthMainnet .Name : & EthMainnet ,
55
+ EthMainnet .CommonName : & EthMainnet ,
56
+ "ethmainnet" : & EthMainnet ,
57
+ "ethereum" : & EthMainnet ,
58
+ "eth" : & EthMainnet ,
59
+ EthRopsten .Name : & EthRopsten ,
60
+ EthRopsten .CommonName : & EthRopsten ,
61
+ "ethropsten" : & EthRopsten ,
62
+ "ropsten" : & EthRopsten ,
63
+ EthKovan .Name : & EthKovan ,
64
+ EthKovan .CommonName : & EthKovan ,
65
+ "ethkovan" : & EthKovan ,
66
+ EthRinkby .Name : & EthRinkby ,
67
+ EthRinkby .CommonName : & EthRinkby ,
68
+ "ethrinkby" : & EthRinkby ,
69
+ EthGoerli .Name : & EthGoerli ,
70
+ EthGoerli .CommonName : & EthGoerli ,
71
+ "ethgoerli" : & EthGoerli ,
72
+ EthTobalaba .Name : & EthTobalaba ,
73
+ EthTobalaba .CommonName : & EthTobalaba ,
74
+ "ethtobalaba" : & EthTobalaba ,
75
+ MaticMainnet .Name : & MaticMainnet ,
76
+ MaticMainnet .CommonName : & MaticMainnet ,
77
+ "maticmainnet" : & MaticMainnet ,
78
+ "polygon" : & MaticMainnet ,
79
+ "matic" : & MaticMainnet ,
80
+ MaticTestnet .Name : & MaticTestnet ,
81
+ MaticTestnet .CommonName : & MaticTestnet ,
82
+ "matictestnet" : & MaticTestnet ,
83
+ "mumbai" : & MaticTestnet ,
84
+ BscMainnet .Name : & BscMainnet ,
85
+ BscMainnet .CommonName : & BscMainnet ,
86
+ "bscmainnet" : & BscMainnet ,
87
+ "binance" : & BscMainnet ,
88
+ BscTestnet .Name : & BscTestnet ,
89
+ BscTestnet .CommonName : & BscTestnet ,
90
+ "bsctestnet" : & BscTestnet ,
91
+ AvaxMainnet .Name : & AvaxMainnet ,
92
+ AvaxMainnet .CommonName : & AvaxMainnet ,
93
+ "avalanche" : & AvaxMainnet ,
94
+ "avax" : & AvaxMainnet ,
95
+ "avaxmainnet" : & AvaxMainnet ,
96
+ "avalanchemainnet" : & AvaxMainnet ,
97
+ AvaxTestnet .Name : & AvaxTestnet ,
98
+ AvaxTestnet .CommonName : & AvaxTestnet ,
99
+ "avaxtestnet" : & AvaxTestnet ,
100
+ "avalanchetestnet" : & AvaxTestnet ,
101
+ "avaxfuji" : & AvaxTestnet ,
102
+ "avalanchefuji" : & AvaxTestnet ,
103
+ FantomMainnet .Name : & FantomMainnet ,
104
+ FantomMainnet .CommonName : & FantomMainnet ,
105
+ "fantommainnet" : & FantomMainnet ,
106
+ FantomTestnet .Name : & FantomTestnet ,
107
+ FantomTestnet .CommonName : & FantomTestnet ,
108
+ "fantomtest" : & FantomTestnet ,
109
+ "fantomtestnet" : & FantomTestnet ,
110
+ CronosMainnet .Name : & CronosMainnet ,
111
+ CronosMainnet .CommonName : & CronosMainnet ,
112
+ "cronosmainnet" : & CronosMainnet ,
113
+ CronosTestnet .Name : & CronosTestnet ,
114
+ CronosTestnet .CommonName : & CronosTestnet ,
115
+ "cronostest" : & CronosTestnet ,
116
+ "cronostestnet" : & CronosTestnet ,
117
+ ArbitrumMainnet .Name : & ArbitrumMainnet ,
118
+ ArbitrumMainnet .CommonName : & ArbitrumMainnet ,
119
+ "arbitrummainnet" : & ArbitrumMainnet ,
120
+ ArbitrumTestnet .Name : & ArbitrumTestnet ,
121
+ ArbitrumTestnet .CommonName : & ArbitrumTestnet ,
122
+ "arbitrumtest" : & ArbitrumTestnet ,
123
+ "arbitrumtestnet" : & ArbitrumTestnet ,
124
+ "arbitrum_rinkeby" : & ArbitrumTestnet ,
91
125
}
92
126
93
127
networkNames []string
0 commit comments