Skip to content

Commit

Permalink
Add boba deployment files
Browse files Browse the repository at this point in the history
  • Loading branch information
m30m authored and ali-bahjati committed Oct 9, 2023
1 parent 71307a1 commit 17f489e
Show file tree
Hide file tree
Showing 6 changed files with 78 additions and 0 deletions.
12 changes: 12 additions & 0 deletions contract_manager/store/chains/EvmChains.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -352,3 +352,15 @@
rpcUrl: https://sepolia-rollup.arbitrum.io/rpc
networkId: 421614
type: EvmChain
- id: boba
wormholeChainName: boba
mainnet: true
rpcUrl: https://replica.boba.network
networkId: 288
type: EvmChain
- id: boba_goerli
wormholeChainName: boba
mainnet: false
rpcUrl: https://goerli.boba.network
networkId: 2888
type: EvmChain
6 changes: 6 additions & 0 deletions contract_manager/store/contracts/EvmContracts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,3 +175,9 @@
- chain: arbitrum_sepolia
address: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729"
type: EvmContract
- chain: boba_goerli
address: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729"
type: EvmContract
- chain: boba
address: "0x4374e5a8b9C22271E9EB878A2AA31DE97DF15DAF"
type: EvmContract
1 change: 1 addition & 0 deletions governance/xc_admin/packages/xc_admin_common/src/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export const RECEIVER_CHAINS = {
scroll: 60028,
ronin: 60029,
horizen: 60030,
boba: 60031,
};

// If there is any overlapping value the receiver chain will replace the wormhole
Expand Down
27 changes: 27 additions & 0 deletions target_chains/ethereum/contracts/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ module.exports = {
},
defaultNetwork: "zkSyncTestnet",
networks: {
[process.env.MIGRATIONS_NETWORK!]: {
url: process.env.RPC_URL,
chainId: Number(process.env.NETWORK_ID),
accounts: {
mnemonic: process.env.MNEMONIC,
},
},
goerli: {
url: `https://goerli.infura.io/v3/${process.env.INFURA_KEY}`,
zksync: false,
Expand Down Expand Up @@ -55,6 +62,8 @@ module.exports = {
apiKey: {
neon_devnet: "there_should_be_a_dummy_value_here_to_avoid_error",
shimmer_testnet: "there_should_be_a_dummy_value_here_to_avoid_error",
boba_goerli: "there_should_be_a_dummy_value_here_to_avoid_error",
boba: "there_should_be_a_dummy_value_here_to_avoid_error",
},
customChains: [
{
Expand All @@ -73,6 +82,24 @@ module.exports = {
browserURL: "https://explorer.evm.testnet.shimmer.network",
},
},
{
network: "boba",
chainId: 288,
urls: {
apiURL:
"https://api.routescan.io/v2/network/mainnet/evm/288/etherscan",
browserURL: "https://boba.routescan.io",
},
},
{
network: "boba_goerli",
chainId: 2888,
urls: {
apiURL:
"https://api.routescan.io/v2/network/testnet/evm/2888/etherscan",
browserURL: "https://boba.testnet.routescan.io",
},
},
],
},
solidity: {
Expand Down
16 changes: 16 additions & 0 deletions target_chains/ethereum/contracts/networks/288.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[
{
"contractName": "Migrations",
"address": "0x8D254a21b3C86D32F7179855531CE99164721933"
},
{
"contractName": "WormholeReceiver",
"address": "0x26DD80569a8B23768A1d80869Ed7339e07595E85",
"transactionHash": "0x4aad7eec099d532a9f789e9aea66f618c5caffd90e020f4b932fbe1aa4e97399"
},
{
"contractName": "PythUpgradable",
"address": "0x4374e5a8b9C22271E9EB878A2AA31DE97DF15DAF",
"transactionHash": "0x474abad5df7ea8e990f84f66de2a176849b59138060db24546baf886d0b95034"
}
]
16 changes: 16 additions & 0 deletions target_chains/ethereum/contracts/networks/2888.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[
{
"contractName": "Migrations",
"address": "0xf5BBe9558F4Bf37F1eB82fb2CEdb1C775FA56832"
},
{
"contractName": "WormholeReceiver",
"address": "0x8250f4aF4B972684F7b336503E2D6dFeDeB1487a",
"transactionHash": "0x88883c1bdfd0b2ea87335e3a7d241fea529e62368be8f50bc2ef434299b793eb"
},
{
"contractName": "PythUpgradable",
"address": "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
"transactionHash": "0xaa448d9b21ee187620674ca3b40a5bc8c7b3c2148f5206f18a80e2a288cd9604"
}
]

1 comment on commit 17f489e

@vercel
Copy link

@vercel vercel bot commented on 17f489e Oct 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

xc-admin-frontend – ./

xc-admin-frontend-pyth-web.vercel.app
xc-admin-frontend-git-main-pyth-web.vercel.app
xc-admin-frontend.vercel.app

Please sign in to comment.