Skip to content

Commit

Permalink
holesky (#297)
Browse files Browse the repository at this point in the history
  • Loading branch information
a10zn8 authored Sep 12, 2023
1 parent ba40de9 commit 231c3c5
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/04-upstream-config.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ Currently, dshackle supports next chains (should be used as chain names in confi
- goerli (goerli-testnet)
- rinkeby (rinkeby-testnet)
- ropsten (ropsten-testnet)
- ethereum-holesky
- bitcoin (bitcoin-testnet)
- base
- base-goerli
Expand Down
2 changes: 1 addition & 1 deletion emerald-grpc
3 changes: 2 additions & 1 deletion src/main/kotlin/io/emeraldpay/dshackle/Chain.kt
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ enum class Chain(val id: Int, val chainCode: String, val chainName: String) {
MANTLE__TESTNET(10023, "MANTLE_TESTNET", "Mantle Testnet"),
KLAYTN__BAOBAB(10024, "KLAYTN_BAOBAB", "Klaytn Baobab"),
SCROLL__SEPOLIA(10025, "SCROLL_SEPOLIA", "Scroll Sepolia"),
BSC__TESTNET(10026, "BSC_TESTNET", "Binance Smart Chain Testnet");
BSC__TESTNET(10026, "BSC_TESTNET", "Binance Smart Chain Testnet"),
ETHEREUM__HOLESKY(10027, "ETHEREUM_HOLESKY", "Ethereum Holesky");

companion object {
fun byId(id: Int): Chain {
Expand Down
1 change: 1 addition & 0 deletions src/main/kotlin/io/emeraldpay/dshackle/Global.kt
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ class Global {
"bitcoin-testnet" to Chain.BITCOIN__TESTNET,
"sepolia" to Chain.ETHEREUM__SEPOLIA,
"sepolia-testnet" to Chain.ETHEREUM__SEPOLIA,
"ethereum-holesky" to Chain.ETHEREUM__HOLESKY,
"optimism-testnet" to Chain.OPTIMISM__GOERLI,
"arbitrum-testnet" to Chain.ARBITRUM__GOERLI,
"arbitrum-nova" to Chain.ARBITRUM_NOVA__MAINNET,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ class DefaultEthereumMethods(
Chain.ETHEREUM__KOVAN to createHardcodedData("\"42\"", "\"0x2a\""),
Chain.ETHEREUM__GOERLI to createHardcodedData("\"5\"", "\"0x5\""),
Chain.ETHEREUM__SEPOLIA to createHardcodedData("\"11155111\"", "\"0xaa36a7\""),
Chain.ETHEREUM__HOLESKY to createHardcodedData("\"17000\"", "\"0x4268\""),

Chain.ETHEREUM_CLASSIC__MAINNET to createHardcodedData("\"1\"", "\"0x3d\""),

Expand Down

0 comments on commit 231c3c5

Please sign in to comment.