Skip to content

Commit 55a973c

Browse files
feat(monad): Update Monad to mainnet (#4550)
* TODO update explorer
1 parent 6110d9c commit 55a973c

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

docs/registry.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ This list is generated from [./registry.json](../registry.json)
9898
| 8453 | Base | ETH | <img src="https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/base/info/logo.png" width="32" /> | <https://base.mirror.xyz/> |
9999
| 8964 | NULS | NULS | <img src="https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/nuls/info/logo.png" width="32" /> | <https://nuls.io> |
100100
| 9745 | Plasma Mainnet | XPL | <img src="https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/plasma/info/logo.png" width="32" /> | <https://plasma.to> |
101-
| 10143 | Monad Testnet | MON | <img src="https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/monad/info/logo.png" width="32" /> | <https://www.monad.xyz> |
101+
| 10143 | Monad | MON | <img src="https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/monad/info/logo.png" width="32" /> | <https://www.monad.xyz> |
102102
| 14001 | WAX | WAXP | <img src="https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/wax/info/logo.png" width="32" /> | <http://wax.io> |
103103
| 18000 | Meter | MTR | <img src="https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/meter/info/logo.png" width="32" /> | <https://meter.io/> |
104104
| 19167 | Flux | FLUX | <img src="https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/zelcash/info/logo.png" width="32" /> | <https://runonflux.io> |

registry.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4914,7 +4914,7 @@
49144914
{
49154915
"id": "monad",
49164916
"name": "Monad",
4917-
"displayName": "Monad Testnet",
4917+
"displayName": "Monad",
49184918
"coinId": 10143,
49194919
"symbol": "MON",
49204920
"decimals": 18,
@@ -4926,18 +4926,18 @@
49264926
],
49274927
"curve": "secp256k1",
49284928
"publicKeyType": "secp256k1Extended",
4929-
"chainId": "10143",
4929+
"chainId": "143",
49304930
"addressHasher": "keccak256",
49314931
"explorer": {
4932-
"url": "https://testnet.monadexplorer.com",
4932+
"url": "https://monadexplorer.com",
49334933
"txPath": "/tx/",
49344934
"accountPath": "/address/",
4935-
"sampleTx": "0xfffe6b1c1238be8d5f4779f97af8fffc89530e2634c61be7a5241dc08f41f07f",
4936-
"sampleAccount": "0xa161C1d86b26ac692604E0cDbc5EcB2D1d85759c"
4935+
"sampleTx": "0x8394f9f01bc2ae2cc93e19170bf80c303210f6f4198e5ec3cc99b0cba04962b6",
4936+
"sampleAccount": "0x6ab69B482987b0BA1f1c96BDbDC192a80CB09132"
49374937
},
49384938
"info": {
49394939
"url": "https://www.monad.xyz",
4940-
"rpc": "https://testnet-rpc.monad.xyz",
4940+
"rpc": "https://rpc.monad.xyz",
49414941
"documentation": "https://docs.monad.xyz"
49424942
}
49434943
}

tests/chains/Monad/TWCoinTypeTests.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@ TEST(TWMonadCoinType, TWCoinType) {
1111
const auto symbol = WRAPS(TWCoinTypeConfigurationGetSymbol(coin));
1212
const auto id = WRAPS(TWCoinTypeConfigurationGetID(coin));
1313
const auto name = WRAPS(TWCoinTypeConfigurationGetName(coin));
14-
const auto txId = WRAPS(TWStringCreateWithUTF8Bytes("0xfffe6b1c1238be8d5f4779f97af8fffc89530e2634c61be7a5241dc08f41f07f"));
14+
const auto txId = WRAPS(TWStringCreateWithUTF8Bytes("0x8394f9f01bc2ae2cc93e19170bf80c303210f6f4198e5ec3cc99b0cba04962b6"));
1515
const auto txUrl = WRAPS(TWCoinTypeConfigurationGetTransactionURL(coin, txId.get()));
16-
const auto accId = WRAPS(TWStringCreateWithUTF8Bytes("0xa161C1d86b26ac692604E0cDbc5EcB2D1d85759c"));
16+
const auto accId = WRAPS(TWStringCreateWithUTF8Bytes("0x6ab69B482987b0BA1f1c96BDbDC192a80CB09132"));
1717
const auto accUrl = WRAPS(TWCoinTypeConfigurationGetAccountURL(coin, accId.get()));
1818

1919
assertStringsEqual(id, "monad");
20-
assertStringsEqual(name, "Monad Testnet");
20+
assertStringsEqual(name, "Monad");
2121
assertStringsEqual(symbol, "MON");
2222
ASSERT_EQ(TWCoinTypeConfigurationGetDecimals(coin), 18);
2323
ASSERT_EQ(TWCoinTypeBlockchain(coin), TWBlockchainEthereum);
2424
ASSERT_EQ(TWCoinTypeP2pkhPrefix(coin), 0);
2525
ASSERT_EQ(TWCoinTypeP2shPrefix(coin), 0);
2626
ASSERT_EQ(TWCoinTypeStaticPrefix(coin), 0);
27-
assertStringsEqual(txUrl, "https://testnet.monadexplorer.com/tx/0xfffe6b1c1238be8d5f4779f97af8fffc89530e2634c61be7a5241dc08f41f07f");
28-
assertStringsEqual(accUrl, "https://testnet.monadexplorer.com/address/0xa161C1d86b26ac692604E0cDbc5EcB2D1d85759c");
27+
assertStringsEqual(txUrl, "https://monadexplorer.com/tx/0x8394f9f01bc2ae2cc93e19170bf80c303210f6f4198e5ec3cc99b0cba04962b6");
28+
assertStringsEqual(accUrl, "https://monadexplorer.com/address/0x6ab69B482987b0BA1f1c96BDbDC192a80CB09132");
2929
}

0 commit comments

Comments
 (0)