Skip to content

Commit 8adac43

Browse files
authored
chore(eth) Add bttc (#1172)
* chore(eth) Add bttc
1 parent 93e9c49 commit 8adac43

File tree

5 files changed

+50
-0
lines changed

5 files changed

+50
-0
lines changed

contract_manager/store/chains/EvmChains.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,3 +368,13 @@
368368
rpcUrl: https://mainnet.mode.network/
369369
networkId: 34443
370370
type: EvmChain
371+
- id: bttc_testnet
372+
mainnet: false
373+
rpcUrl: https://pre-rpc.bt.io
374+
networkId: 1029
375+
type: EvmChain
376+
- id: bttc
377+
mainnet: true
378+
rpcUrl: https://rpc.bt.io
379+
networkId: 199
380+
type: EvmChain

contract_manager/store/contracts/EvmContracts.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,3 +220,9 @@
220220
- chain: mode_testnet
221221
address: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729"
222222
type: EvmContract
223+
- chain: bttc_testnet
224+
address: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729"
225+
type: EvmContract
226+
- chain: bttc
227+
address: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729"
228+
type: EvmContract

governance/xc_admin/packages/xc_admin_common/src/chains.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ export const RECEIVER_CHAINS = {
5656
tomochain: 60037,
5757
stacks: 60038,
5858
mode: 60039,
59+
bttc: 60040,
5960

6061
// Testnets as a separate chain ids (to use stable data sources and governance for them)
6162
injective_testnet: 60013,
@@ -105,6 +106,7 @@ export const RECEIVER_CHAINS = {
105106
tomochain_testnet: 50038,
106107
stacks_testnet: 50039,
107108
mode_testnet: 50040,
109+
bttc_testnet: 50041,
108110
};
109111

110112
// If there is any overlapping value the receiver chain will replace the wormhole
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[
2+
{
3+
"contractName": "Migrations",
4+
"address": "0xf5BBe9558F4Bf37F1eB82fb2CEdb1C775FA56832"
5+
},
6+
{
7+
"contractName": "WormholeReceiver",
8+
"address": "0x8250f4aF4B972684F7b336503E2D6dFeDeB1487a",
9+
"transactionHash": "0x81c70e14de2e8d75377ebb68e4085061cc96a8928b9bca4f64c5e893c1f76494"
10+
},
11+
{
12+
"contractName": "PythUpgradable",
13+
"address": "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
14+
"transactionHash": "0xd1b65bcd805807114f238be5b12c145a6e5e66a9e3d396ea771716e3712285f5"
15+
}
16+
]
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[
2+
{
3+
"contractName": "Migrations",
4+
"address": "0xf5BBe9558F4Bf37F1eB82fb2CEdb1C775FA56832"
5+
},
6+
{
7+
"contractName": "WormholeReceiver",
8+
"address": "0x8250f4aF4B972684F7b336503E2D6dFeDeB1487a",
9+
"transactionHash": "0xddce4e39eb328ad88883cebff7f73e3062e797d5d47c12ba4b670da969863df3"
10+
},
11+
{
12+
"contractName": "PythUpgradable",
13+
"address": "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
14+
"transactionHash": "0xd0075226cd6f3b7295f28572c5d2b58c3225cc5cf806ac6aaa2fd1cd70d326ec"
15+
}
16+
]

0 commit comments

Comments
 (0)