Skip to content

Commit

Permalink
add heco network (#200)
Browse files Browse the repository at this point in the history
Co-authored-by: lhd-dfactory <[email protected]>
  • Loading branch information
deri-protocol and lhd-dfactory authored Apr 19, 2022
1 parent 03c5795 commit b3fc47a
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ const GLMR: Currency = {
symbol: 'GLMR',
decimals: 18,
}
const HECO: Currency = {
name: 'HECO',
symbol: 'HT',
decimals: 18,
}

const CHAIN_INFORMATION = new Map<number, ChainInformation | ChainType>([
[
Expand Down Expand Up @@ -441,6 +446,18 @@ const CHAIN_INFORMATION = new Map<number, ChainInformation | ChainType>([
testnet: true,
},
],
[
128,
{
id: 128,
nativeCurrency: HECO,
type: 'main',
fullName: 'HECO Mainnet',
shortName: 'HECO',
explorerUrl: `https://hecoscan.xyz/`,
testnet: false,
},
],
])

/**
Expand Down

0 comments on commit b3fc47a

Please sign in to comment.