Skip to content

Commit 233e7e6

Browse files
committed
feat: additional names to reflect coingecko naming
1 parent 48ce92c commit 233e7e6

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

network.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ var (
3838
AvaxMainnet Network = Network{"Avax", "avax", "AVAX", "https://api.snowtrace.io/api?", "0xa86a", 43114}
3939
// AvaxTestnet Avalanche testnet for development
4040
AvaxTestnet Network = Network{"Avax test", "avax_test", "AVAX", "https://api-testnet.snowtrace.io/api?", "0xa869", 43113}
41-
// Fantom mainnet for production
42-
FantomMainnet Network = Network{"Fantom", "fantom", "FTM", "https://api.ftmscan.com/api?", "0xfa", 250}
43-
// FantomTestNet
41+
// FantomMainnet for production
42+
FantomMainnet Network = Network{"Fantom", "fantom", "FTM", "htstps://api.ftmscan.com/api?", "0xfa", 250}
43+
// FantomTestnet
4444
FantomTestnet Network = Network{"Fantom test", "fantom_test", "FTM", "https://api-testnet.ftmscan.com/api?", "0x0", 0}
4545
// Cronos mainnet for production
4646
CronosMainnet Network = Network{"Cronos", "cronos", "CRO", "https://api.cronoscan.com/api?", "0x19", 25}
@@ -81,6 +81,7 @@ var (
8181
MaticMainnet.CommonName: &MaticMainnet,
8282
"maticmainnet": &MaticMainnet,
8383
"polygon": &MaticMainnet,
84+
"polygon-pos": &MaticMainnet,
8485
"matic": &MaticMainnet,
8586
MaticTestnet.Name: &MaticTestnet,
8687
MaticTestnet.CommonName: &MaticTestnet,
@@ -90,6 +91,7 @@ var (
9091
BscMainnet.CommonName: &BscMainnet,
9192
"bscmainnet": &BscMainnet,
9293
"binance": &BscMainnet,
94+
"binance-smart-chain": &BscMainnet,
9395
BscTestnet.Name: &BscTestnet,
9496
BscTestnet.CommonName: &BscTestnet,
9597
"bsctestnet": &BscTestnet,

0 commit comments

Comments
 (0)