Skip to content

Add VinuChain (coin type 10000207)#4722

Open
ElemontCapital wants to merge 4 commits intotrustwallet:masterfrom
ElemontCapital:add-vinuchain
Open

Add VinuChain (coin type 10000207)#4722
ElemontCapital wants to merge 4 commits intotrustwallet:masterfrom
ElemontCapital:add-vinuchain

Conversation

@ElemontCapital
Copy link
Copy Markdown

Summary

This PR adds VinuChain as an EVM-compatible chain to Trust Wallet Core.

Chain details:

  • Name: VinuChain
  • Symbol: VC
  • Chain ID: 207
  • Coin type: 10000207 (convention: 10000000 + chainId)
  • Decimals: 18
  • Address derivation: identical to Ethereum (secp256k1, keccak256, m/44'/60'/0'/0/0)
  • Explorer: https://vinuexplorer.org
  • Website: https://vinuchain.org

Files changed

  • registry.json — new chain entry with all metadata
  • codegen-v2/manifest/TWEthereumChainID.yaml — chain ID 207 (vinuchain)
  • codegen-v2/manifest/TWCoinType.yaml — coin type 10000207 (vinuchain)
  • include/TrustWalletCore/TWCoinType.hTWCoinTypeVinuChain = 10000207 enum value
  • tests/chains/VinuChain/TWCoinTypeTests.cpp — coin type configuration test
  • tests/common/CoinAddressDerivationTests.cpp — EVM address derivation case
  • rust/tw_tests/tests/coin_address_derivation_test.rs — Rust derivation test
  • swift/Tests/CoinAddressDerivationTests.swift — Swift derivation test
  • kotlin/wallet-core-kotlin/.../CoinAddressDerivationTests.kt — Kotlin multiplatform test
  • android/.../CoinAddressDerivationTests.kt — Android Kotlin test

Test plan

  • Verify TWCoinTypeVinuChain = 10000207 resolves correctly
  • Verify address derivation produces standard Ethereum-format address (0x...)
  • Verify explorer URLs are correctly constructed from registry.json
  • Verify chain ID 207 is returned by TWCoinTypeChainId
  • Run tests/chains/VinuChain/TWCoinTypeTests.cpp test suite
  • Run CoinAddressDerivationTests across all platforms (C++, Rust, Swift, Kotlin, Android)

Add VinuChain as an EVM-compatible chain with:
- Chain ID: 207
- Coin type: 10000207 (10000000 + chainId convention)
- Symbol: VC
- Decimals: 18
- Address derivation: identical to Ethereum (secp256k1, keccak256)
- Explorer: https://vinuexplorer.org
- Website: https://vinuchain.org

Files changed:
- registry.json: new chain entry
- codegen-v2/manifest/TWEthereumChainID.yaml: chain ID 207
- codegen-v2/manifest/TWCoinType.yaml: coin type 10000207
- include/TrustWalletCore/TWCoinType.h: TWCoinTypeVinuChain enum value
- tests/chains/VinuChain/TWCoinTypeTests.cpp: coin type test
- tests/common/CoinAddressDerivationTests.cpp: EVM address derivation
- rust/tw_tests/tests/coin_address_derivation_test.rs: Rust derivation test
- swift/Tests/CoinAddressDerivationTests.swift: Swift derivation test
- kotlin/.../CoinAddressDerivationTests.kt: Kotlin multiplatform test
- android/.../CoinAddressDerivationTests.kt: Android Kotlin test
@ElemontCapital ElemontCapital requested a review from a team as a code owner April 6, 2026 06:44
@alialobidm
Copy link
Copy Markdown

@alialobidm
Copy link
Copy Markdown

``

1 similar comment
@alialobidm
Copy link
Copy Markdown

``

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