feat: add native TRX and TRC20 coin configs (wallet-only)#1722
Merged
feat: add native TRX and TRC20 coin configs (wallet-only)#1722
Conversation
- TRX: TRON mainnet, wallet_only, HD path m/44'/195' - USDT-TRC20: Tether on TRON mainnet (TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t) - TRXT: TRON Nile testnet - USDT-TRC20-TEST: Tether on Nile testnet (TXYZopYRdj2D9XRtbG411XZZ3kM5VkAeBf) - Node configs for mainnet (api.trongrid.io) and testnet (api.nileex.io, nile.trongrid.io) All entries are wallet_only pending swap contract support. Companion to GLEECBTC/komodo-defi-framework#2714 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
cipig
reviewed
Mar 6, 2026
cipig
reviewed
Mar 6, 2026
cipig
reviewed
Mar 6, 2026
Rename USDT-TRC20-TEST to TESTUSDT-TRC20 per review feedback: - Avoids double hyphen in ticker (convention: single hyphen only) - Prevents GUI from matching USDT price for testnet coin Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: set TRX/TRXT coin type to TRC-20
TRX and TRXT had an empty "type" field because the protocol type
resolution in get_protocol_info() only handled ETH and QTUM as
platform coin protocols. TRON uses its own protocol type ("TRX")
rather than "ETH", so it fell through all type-assignment paths.
Add "TRX" to the platform protocol check so TRX resolves to "TRC-20"
via the existing protocols dict, matching how ETH resolves to "ERC-20".
* Update coins json file (#1741)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(config): generate TRX type for Tron platform assets * Update coins json file (#1744) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Resolved conflicts in generated utils/*.json by taking master versions then re-running generate_app_configs.py so outputs match the merged tree.
…1747) * fix(config): generate TRX type for Tron platform assets * Update coins json file (#1744) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: add Tron-native RPC scanning and fix TRC20 token connectivity The scanner was probing TRX nodes with Ethereum JSON-RPC (eth_blockNumber) against the base URL, which TronGrid returns 405 for. This caused all TRX and TRC20 coins to be permanently delisted despite functional nodes. - Add TronServer class that probes /wallet/getnowblock (Tron HTTP API) - Route TRX-protocol coins to the new Tron scanner automatically - Add tron-rpc.publicnode.com as a second mainnet RPC node - Fix testnet TRC20 tokens mapping to wrong parent chain (TRX vs TRXT) - Add -TRC20 to token suffix list so TRC20 tokens inherit parent status * Update coins json file (#1748) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…add-tron-coins
TRX, USDT-TRC20, TRXT, and TESTUSDT-TRC20 had empty explorer URLs because no explorer files existed for TRX/TRXT. Adds tronscan.org (mainnet) and nile.tronscan.org (Nile testnet) as the official TRON block explorers with correct hash-based routing paths. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…add-tron-coins
CharlVS
approved these changes
Mar 28, 2026
cipig
approved these changes
Mar 30, 2026
komodoce
pushed a commit
to komodoce/coins-ce
that referenced
this pull request
Apr 17, 2026
[BOT] Update coins config json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
wallet_onlypending swap contract supportCompanion to GLEECBTC/komodo-defi-framework#2714
Test plan
Activation
enable_eth_with_tokenstask::enable_eth::initenable_erc20_token/task::enable_erc20::initAddresses
T...address matches TronLink for same mnemonicBalances
Withdrawals
Fees
🤖 Generated with Claude Code