Skip to content

Commit

Permalink
Unichain testnet support
Browse files Browse the repository at this point in the history
  • Loading branch information
bruce-riley committed Oct 10, 2024
1 parent fa4ba4b commit c3c3df5
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 0 deletions.
1 change: 1 addition & 0 deletions core/base/src/constants/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ const chainIdAndChainEntries = [
[ 39, "Berachain" ],
[ 40, "Seievm" ],
[ 43, "Snaxchain" ],
[ 44, "Unichain" ],
[ 3104, "Wormchain" ],
[ 4000, "Cosmoshub" ],
[ 4001, "Evmos" ],
Expand Down
1 change: 1 addition & 0 deletions core/base/src/constants/contracts/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export const coreBridgeContracts = [[
["Blast", "0x473e002D7add6fB67a4964F13bFd61280Ca46886"],
["Berachain", "0xBB73cB66C26740F31d1FabDC6b7A46a038A300dd"],
["Snaxchain", "0xBB73cB66C26740F31d1FabDC6b7A46a038A300dd"],
["Unichain", "0xBB73cB66C26740F31d1FabDC6b7A46a038A300dd"],
["Xlayer", "0xA31aa3FDb7aF7Db93d18DDA4e19F811342EDF780"],
["Linea", "0x79A1027a6A159502049F10906D333EC57E95F083"],
]], [
Expand Down
1 change: 1 addition & 0 deletions core/base/src/constants/contracts/tokenBridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export const tokenBridgeContracts = [[
["Xlayer", "0xdA91a06299BBF302091B053c6B9EF86Eff0f930D"],
["Berachain", "0xa10f2eF61dE1f19f586ab8B6F2EbA89bACE63F7a"],
["Snaxchain", "0xa10f2eF61dE1f19f586ab8B6F2EbA89bACE63F7a"],
["Unichain", "0xa10f2eF61dE1f19f586ab8B6F2EbA89bACE63F7a"],
["Linea", "0xC7A204bDBFe983FCD8d8E61D02b475D4073fF97e"],
]], [
"Devnet", [
Expand Down
1 change: 1 addition & 0 deletions core/base/src/constants/finality.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ const finalityThresholds = [
["Injective", 0],
["Berachain", 0],
["Snaxchain", 0],
["Unichain", 0],
["Cosmoshub", 0],
["Evmos", 0],
["Kujira", 0],
Expand Down
1 change: 1 addition & 0 deletions core/base/src/constants/nativeChainIds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ const chainNetworkNativeChainIdEntries = [
["Scroll", 534351n],
["Berachain", 80084n], // Testnet v2
["Snaxchain", 13001n],
["Unichain", 1301n],
["Xlayer", 195n],
["Linea", 59141n], // Sepolia
],
Expand Down
1 change: 1 addition & 0 deletions core/base/src/constants/platforms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const platformAndChainsEntries = [[
"Berachain",
"Seievm",
"Snaxchain",
"Unichain",
]], [
"Solana", [
"Solana",
Expand Down
48 changes: 48 additions & 0 deletions core/icons/src/images/chains/Unichain.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c3c3df5

Please sign in to comment.