Skip to content

Commit 1081629

Browse files
authored
Merge pull request #6459 from BitGo/WIN-5225
chore: Update monad testnet links with mainnet links
2 parents 426939c + 990d95d commit 1081629

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

modules/sdk-coin-mon/src/lib/resources.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ export const testnetCommon = EthereumCommon.custom(
1616
export const mainnetCommon = EthereumCommon.custom(
1717
{
1818
name: 'Mon mainnet',
19+
networkId: (coins.get('mon').network as EthereumNetwork).chainId,
20+
chainId: (coins.get('mon').network as EthereumNetwork).chainId,
1921
},
2022
{
2123
baseChain: 'mainnet',

modules/sdk-core/src/bitgo/environments.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ const mainnetBase: EnvironmentTemplate = {
220220
worldExplorerBaseUrl: 'https://worldscan.org/',
221221
somniaExplorerBaseUrl: 'https://shannon-explorer.somnia.network/', //TODO: WIN-5278: change it with mainnet explorer, when its available
222222
soneiumExplorerBaseUrl: 'https://soneium-minato.blockscout.com',
223-
monExplorerBaseUrl: 'https://testnet.monadexplorer.com/', //TODO: WIN-5225: Adding it so its not missed when Monad mainet is avaiable.Change it with mainnet explorer, when its available
223+
monExplorerBaseUrl: 'https://mainnet-beta.monvision.io',
224224
stxNodeUrl: 'https://api.hiro.so',
225225
vetNodeUrl: 'https://rpc-mainnet.vechain.energy',
226226
};

modules/statics/src/networks.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1406,9 +1406,9 @@ class MonadTestnet extends Testnet implements EthereumNetwork {
14061406
class Monad extends Mainnet implements EthereumNetwork {
14071407
name = 'Monad';
14081408
family = CoinFamily.MON;
1409-
explorerUrl = 'https://testnet.monadexplorer.com/tx/'; //TODO: WIN-5225: change it with mainnet explorer, when its available
1410-
chainId = 10143; //TODO: WIN-5225: change it with mainnet explorer, when its available
1411-
nativeCoinOperationHashPrefix = '10143'; //TODO: WIN-5225: change it with mainnet explorer, when its available
1409+
explorerUrl = 'https://mainnet-beta.monvision.io/tx';
1410+
chainId = 143;
1411+
nativeCoinOperationHashPrefix = '143';
14121412
walletImplementationAddress = '0x944fef03af368414f29dc31a72061b8d64f568d2';
14131413
batcherContractAddress = '0x3e1e5d78e44f15593b3b61ed278f12c27f0ff33e';
14141414
forwarderFactoryAddress = '0x37996e762fa8b671869740c79eb33f625b3bf92a';

0 commit comments

Comments
 (0)