Skip to content

Commit

Permalink
Added some popular Ethereum-compatible chains to networks.
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed May 14, 2021
1 parent 26464c5 commit b6370f1
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions packages/networks/src.ts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,18 +131,12 @@ const classicMordor: Network = {
};

const networks: { [name: string]: Network } = {
unspecified: {
chainId: 0,
name: "unspecified"
},
unspecified: { chainId: 0, name: "unspecified" },

homestead: homestead,
mainnet: homestead,

morden: {
chainId: 2,
name: "morden"
},
morden: { chainId: 2, name: "morden" },

ropsten: ropsten,
testnet: ropsten,
Expand Down Expand Up @@ -172,22 +166,26 @@ const networks: { [name: string]: Network } = {
classic: {
chainId: 61,
name: "classic",
_defaultProvider: etcDefaultProvider("https://www.ethercluster.com/etc", "classic")
_defaultProvider: etcDefaultProvider("https:/\/www.ethercluster.com/etc", "classic")
},

classicMorden: {
chainId: 62,
name: "classicMorden",
},
classicMorden: { chainId: 62, name: "classicMorden" },

classicMordor: classicMordor,
classicTestnet: classicMordor,

classicKotti: {
chainId: 6,
name: "classicKotti",
_defaultProvider: etcDefaultProvider("https://www.ethercluster.com/kotti", "classicKotti")
_defaultProvider: etcDefaultProvider("https:/\/www.ethercluster.com/kotti", "classicKotti")
},

xdai: { chainId: 100, name: "xdai" },

matic: { chainId: 137, name: "matic" },

bnb: { chainId: 56, name: "bnb" },
bnbt: { chainId: 97, name: "bnbt" },
}

/**
Expand Down

0 comments on commit b6370f1

Please sign in to comment.