-
Notifications
You must be signed in to change notification settings - Fork 148
feat: add native TRX and TRC20 coin configs (wallet-only) #1722
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13444,6 +13444,74 @@ | |
| "erc20_sender_refund": 85000 | ||
| } | ||
| }, | ||
| { | ||
| "coin": "TRX", | ||
| "name": "tron", | ||
| "fname": "TRON", | ||
| "mm2": 1, | ||
| "wallet_only": true, | ||
| "decimals": 6, | ||
| "avg_blocktime": 3, | ||
| "required_confirmations": 1, | ||
| "derivation_path": "m/44'/195'", | ||
| "protocol": { | ||
| "type": "TRX", | ||
| "protocol_data": { | ||
| "network": "Mainnet" | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "coin": "USDT-TRC20", | ||
| "name": "usdt_trc20", | ||
| "fname": "Tether", | ||
| "mm2": 1, | ||
| "wallet_only": true, | ||
| "decimals": 6, | ||
| "derivation_path": "m/44'/195'", | ||
| "protocol": { | ||
| "type": "TRC20", | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. type of tokens is ERC20, no matter which specific chain it's on
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. TRC20 is a new coin type for tron |
||
| "protocol_data": { | ||
| "platform": "TRX", | ||
| "contract_address": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t" | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "coin": "TRXT", | ||
| "name": "tron_test", | ||
| "fname": "TRON Testnet", | ||
| "is_testnet": true, | ||
| "mm2": 1, | ||
| "wallet_only": true, | ||
| "decimals": 6, | ||
| "avg_blocktime": 3, | ||
| "required_confirmations": 1, | ||
| "derivation_path": "m/44'/195'", | ||
| "protocol": { | ||
| "type": "TRX", | ||
| "protocol_data": { | ||
| "network": "Nile" | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "coin": "USDT-TRC20-TEST", | ||
|
||
| "name": "usdt_trc20_test", | ||
| "fname": "Tether Testnet", | ||
| "is_testnet": true, | ||
| "mm2": 1, | ||
| "wallet_only": true, | ||
| "decimals": 6, | ||
| "derivation_path": "m/44'/195'", | ||
| "protocol": { | ||
| "type": "TRC20", | ||
| "protocol_data": { | ||
| "platform": "TRXT", | ||
| "contract_address": "TXYZopYRdj2D9XRtbG411XZZ3kM5VkAeBf" | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "coin": "TRYB-AVX20", | ||
| "name": "tryb_avx20", | ||
|
|
@@ -17394,29 +17462,29 @@ | |
| } | ||
| }, | ||
| { | ||
| "coin": "VRM", | ||
| "name": "veriumreserve", | ||
| "fname": "Verium Reserve", | ||
| "rpcport": 33987, | ||
| "pubtype": 70, | ||
| "p2shtype": 132, | ||
| "wiftype": 198, | ||
| "txfee": 1000000, | ||
| "coin": "VRM", | ||
| "name": "veriumreserve", | ||
| "fname": "Verium Reserve", | ||
| "rpcport": 33987, | ||
| "pubtype": 70, | ||
| "p2shtype": 132, | ||
| "wiftype": 198, | ||
| "txfee": 1000000, | ||
| "isPoS": 1, | ||
| "segwit": false, | ||
| "force_min_relay_fee": true, | ||
| "mm2": 1, | ||
| "confpath": "USERHOME/.verium/verium.conf", | ||
| "required_confirmations": 5, | ||
| "avg_blocktime": 240, | ||
| "protocol": { | ||
| "type": "UTXO" | ||
| }, | ||
| "derivation_path": "m/44'/8750'", | ||
| "segwit": false, | ||
| "force_min_relay_fee": true, | ||
| "mm2": 1, | ||
| "confpath": "USERHOME/.verium/verium.conf", | ||
| "required_confirmations": 5, | ||
| "avg_blocktime": 240, | ||
| "protocol": { | ||
| "type": "UTXO" | ||
| }, | ||
| "derivation_path": "m/44'/8750'", | ||
| "links": { | ||
| "github": "https://github.com/VeriConomy/verium-current", | ||
| "homepage": "https://vericonomy.com" | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "coin": "CAS", | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "rpc_nodes": [ | ||
| { | ||
| "url": "https://api.trongrid.io" | ||
| } | ||
| ] | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| { | ||
| "rpc_nodes": [ | ||
| { | ||
| "url": "https://api.nileex.io" | ||
| }, | ||
| { | ||
| "url": "https://nile.trongrid.io" | ||
| } | ||
| ] | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
on the other EVM chains, the main coin is configured like this
with type ETH and chain_id
has this changed for TRX?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, no chain_id for tron