File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,8 @@ const EXTERNALS_WHITELIST = [
58
58
'mainnet.radixdlt.com' ,
59
59
'dashboard.radixdlt.com' ,
60
60
'explorer.solana.com' ,
61
- 'adastat.net'
61
+ 'adastat.net' ,
62
+ 'tronscan.org'
62
63
]
63
64
64
65
export const openExternal = ( target : string ) => {
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import { PoolDetail } from '@xchainjs/xchain-midgard'
11
11
import { XRD_DECIMAL } from '@xchainjs/xchain-radix'
12
12
import { SOL_DECIMALS } from '@xchainjs/xchain-solana'
13
13
import { isTCYAsset } from '@xchainjs/xchain-thorchain'
14
+ import { TRX_DECIMAL } from '@xchainjs/xchain-tron'
14
15
import { AnyAsset , assetToString } from '@xchainjs/xchain-util'
15
16
import { ZEC_DECIMAL } from '@xchainjs/xchain-zcash'
16
17
import * as Rx from 'rxjs'
@@ -40,6 +41,7 @@ const CHAIN_DECIMAL_MAP = new Map([
40
41
[ 'BTC' , BTC_DECIMAL ] ,
41
42
[ 'BCH' , BCH_DECIMAL ] ,
42
43
[ 'SOL' , SOL_DECIMALS ] ,
44
+ [ 'TRON' , TRX_DECIMAL ] ,
43
45
[ 'ZEC' , ZEC_DECIMAL ] ,
44
46
[ 'ADA' , ADA_DECIMALS ]
45
47
] )
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ import { RadixChain } from '@xchainjs/xchain-radix'
17
17
import { XRPChain } from '@xchainjs/xchain-ripple'
18
18
import { SOLChain } from '@xchainjs/xchain-solana'
19
19
import { THORChain } from '@xchainjs/xchain-thorchain'
20
+ import { TRONChain } from '@xchainjs/xchain-tron'
20
21
import { Chain } from '@xchainjs/xchain-util'
21
22
import { ZECChain } from '@xchainjs/xchain-zcash'
22
23
@@ -150,6 +151,11 @@ export const getChainDerivationPath = (
150
151
path : `m/44'/133'/${ account } '/0/${ index } ` ,
151
152
description : `Zcash (m/44'/133'/${ account } '/0/${ index } )`
152
153
}
154
+ case TRONChain :
155
+ return {
156
+ path : `m/44'/195'/${ account } '/0/${ index } ` ,
157
+ description : `TRON (m/44'/195'/${ account } '/0/${ index } )`
158
+ }
153
159
154
160
default :
155
161
return {
You can’t perform that action at this time.
0 commit comments