Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add milkomeda chain #25

Merged
merged 1 commit into from
May 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions base/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ func GetChainName(id uint64) string {
return "Starcoin"
case ONTEVM:
return "ONTEVM"
case MILKO:
return "Milkomeda"
default:
return fmt.Sprintf("Unknown(%d)", id)
}
Expand Down
5 changes: 3 additions & 2 deletions base/mainnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,16 @@ const (
BCSPALETTE uint64 = 1001001
STARCOIN uint64 = 1001002
ONTEVM uint64 = 1001333
MILKO uint64 = 1001335

ENV = "mainnet"
)

var CHAINS = []uint64{
POLY, ETH, BSC, HECO, OK, ONT, NEO, NEO3, HEIMDALL, MATIC, SWITCHEO, O3, PLT, ARBITRUM, XDAI, OPTIMISM, FANTOM, AVA,
METIS, BOBA, PIXIE, OASIS, HSC, HARMONY, BYTOM, BCSPALETTE, STARCOIN, ONTEVM, KCC,
METIS, BOBA, PIXIE, OASIS, HSC, HARMONY, BYTOM, BCSPALETTE, STARCOIN, ONTEVM, KCC, MILKO,
}

var ETH_CHAINS = []uint64{
ETH, BSC, HECO, OK, MATIC, O3, PLT, ARBITRUM, XDAI, OPTIMISM, FANTOM, AVA, METIS, BOBA, PIXIE, OASIS, HSC, HARMONY, HARMONY, BYTOM, BCSPALETTE, KCC, ONTEVM,
ETH, BSC, HECO, OK, MATIC, O3, PLT, ARBITRUM, XDAI, OPTIMISM, FANTOM, AVA, METIS, BOBA, PIXIE, OASIS, HSC, HARMONY, HARMONY, BYTOM, BCSPALETTE, KCC, ONTEVM, MILKO,
}
5 changes: 3 additions & 2 deletions base/testnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ const (
HARMONY uint64 = 800
KCC uint64 = 900
ONTEVM uint64 = 333
MILKO uint64 = 810

SWITCHEO uint64 = 1000
BCSPALETTE uint64 = 1001
Expand All @@ -60,10 +61,10 @@ const (

var CHAINS = []uint64{
POLY, ETH, BSC, HECO, OK, ONT, NEO, NEO3, HEIMDALL, MATIC, SWITCHEO, O3, PLT, ARBITRUM, XDAI, OPTIMISM, FANTOM, AVA,
METIS, RINKEBY, BOBA, PIXIE, OASIS, HSC, HARMONY, BYTOM, BCSPALETTE, STARCOIN, ONTEVM, KCC,
METIS, RINKEBY, BOBA, PIXIE, OASIS, HSC, HARMONY, BYTOM, BCSPALETTE, STARCOIN, ONTEVM, KCC, MILKO,
}

var ETH_CHAINS = []uint64{
ETH, BSC, HECO, OK, MATIC, O3, PLT, ARBITRUM, XDAI, OPTIMISM, FANTOM, AVA, METIS, RINKEBY, BOBA, PIXIE, OASIS, HSC,
HARMONY, HARMONY, BYTOM, BCSPALETTE, KCC, ONTEVM,
HARMONY, HARMONY, BYTOM, BCSPALETTE, KCC, ONTEVM, MILKO,
}