Skip to content

Conversation

@satoshiotomakan
Copy link
Collaborator

@satoshiotomakan satoshiotomakan commented Oct 29, 2025

This pull request adds support for the Monad Testnet (MON) blockchain across the codebase. The changes include updates to registry files, coin type enumerations, address derivation tests, and documentation to fully integrate Monad as a supported chain.

Monad Testnet integration

  • Added Monad Testnet entry to registry.json, including metadata such as coin ID, symbol, derivation path, explorer URLs, and RPC/documentation links.
  • Registered Monad Testnet in the coin type enumeration (TWCoinTypeMonad = 10143) in TWCoinType.h.
  • Added Monad Testnet to the documentation table in docs/registry.md.

Address derivation and tests

  • Updated address derivation tests in Kotlin, Android, Swift, Rust, and C++ to include Monad Testnet, ensuring correct address formats are validated. [1] [2] [3] [4] [5]
  • Added a dedicated C++ test file TWCoinTypeTests.cpp for Monad, verifying symbol, ID, name, decimals, blockchain type, and explorer/account URLs.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds support for Monad Testnet, an Ethereum-compatible blockchain. The implementation follows the standard pattern for adding new EVM-compatible chains to the wallet core library.

  • Adds Monad Testnet (coin ID 10143) to the blockchain registry
  • Integrates Monad into address derivation test suites across all supported languages
  • Creates coin type configuration tests for Monad

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
include/TrustWalletCore/TWCoinType.h Adds TWCoinTypeMonad enum value with coin ID 10143
registry.json Adds Monad Testnet configuration with testnet explorer and RPC endpoints
tests/chains/Monad/TWCoinTypeTests.cpp Creates new test file verifying Monad coin type configuration
tests/common/CoinAddressDerivationTests.cpp Adds Monad to EVM address derivation test cases
swift/Tests/CoinAddressDerivationTests.swift Adds Monad to Swift address derivation test cases
kotlin/wallet-core-kotlin/src/commonTest/kotlin/com/trustwallet/core/test/CoinAddressDerivationTests.kt Adds Monad to Kotlin address derivation test cases
android/app/src/androidTest/java/com/trustwallet/core/app/blockchains/CoinAddressDerivationTests.kt Adds Monad to Android address derivation test cases
rust/tw_tests/tests/coin_address_derivation_test.rs Adds Monad to Rust address derivation test cases
docs/registry.md Adds Monad Testnet entry to the documentation table

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link

Binary size comparison

➡️ aarch64-apple-ios:

- 14.18 MB
+ 14.18 MB 	 +1 KB

➡️ aarch64-apple-ios-sim:

- 14.18 MB
+ 14.18 MB 	 +1 KB

➡️ aarch64-linux-android: 18.67 MB

➡️ armv7-linux-androideabi:

- 15.61 MB
+ 15.62 MB 	 +1 KB

➡️ wasm32-unknown-emscripten:

- 13.31 MB
+ 13.31 MB 	 +1 KB

@satoshiotomakan satoshiotomakan merged commit 6110d9c into master Oct 29, 2025
21 checks passed
@satoshiotomakan satoshiotomakan deleted the feat/monad-evm branch October 29, 2025 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants