diff --git a/contract_manager/src/core/chains.ts b/contract_manager/src/core/chains.ts index 1d4a26c577..ed02185ce8 100644 --- a/contract_manager/src/core/chains.ts +++ b/contract_manager/src/core/chains.ts @@ -1519,6 +1519,7 @@ export class TonChain extends Chain { wormholeChainName: string, nativeToken: TokenId | undefined, private rpcUrl: string, + private networkId: string, ) { super(id, mainnet, wormholeChainName, nativeToken); } @@ -1583,6 +1584,7 @@ export class TonChain extends Chain { return { id: this.id, mainnet: this.mainnet, + networkId: this.networkId, rpcUrl: this.rpcUrl, type: TonChain.type, wormholeChainName: this.wormholeChainName, @@ -1597,6 +1599,7 @@ export class TonChain extends Chain { parsed.wormholeChainName ?? "", parsed.nativeToken, parsed.rpcUrl ?? "", + parsed.networkId ?? "", ); } diff --git a/contract_manager/src/store/chains/TonChains.json b/contract_manager/src/store/chains/TonChains.json index c850610cee..af94c72898 100644 --- a/contract_manager/src/store/chains/TonChains.json +++ b/contract_manager/src/store/chains/TonChains.json @@ -2,6 +2,7 @@ { "id": "ton_testnet", "mainnet": false, + "networkId": "0x2", "rpcUrl": "https://testnet.toncenter.com/api/v2/jsonRPC#$ENV_TON_TESTNET_API_KEY", "type": "TonChain", "wormholeChainName": "ton_testnet" @@ -9,6 +10,7 @@ { "id": "ton_mainnet", "mainnet": true, + "networkId": "0x27", "rpcUrl": "https://toncenter.com/api/v2/jsonRPC#$ENV_TON_MAINNET_API_KEY", "type": "TonChain", "wormholeChainName": "ton_mainnet"