Skip to content

Commit 3cd0391

Browse files
chaoticgoodpandachaoticgoodpanda
and
chaoticgoodpanda
authored
Consolidated trust:// vs https explanation and added Launchpool deep route (#363)
Co-authored-by: chaoticgoodpanda <michael.lwin@binance.com>
1 parent 186ef2b commit 3cd0391

File tree

1 file changed

+27
-39
lines changed

1 file changed

+27
-39
lines changed
+27-39
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,35 @@
11
# Deeplinking
22

3+
All deeplink routes can be used with either `https://link.trustwallet.com` or `trust://`.
4+
5+
The `https://link.trustwallet.com` domain will route the user to a download landing page where the user can download the app for iOS, Android, or web extension. If the user already has the app installed, they will get a pop-up deeplinking them to the actual route page in the app.
6+
7+
The `trust://` URI will directly deeplink route the user to the corresponding in-app page and should be used in campaigns where it is known that all users clicking on the link already have the Trust Wallet app installed.
8+
39
## DApp Browser
410

511
Open dapp browser with a specific url and network
612

713
- `coin` slip44 index
814
- `url` website url
915

10-
https://link.trustwallet.com/open_url?coin_id=60&url=https://compound.finance
16+
`https://link.trustwallet.com/open_url?coin_id=60&url=https://compound.finance`
1117

1218
## Assets
1319

1420
### Open coin
1521

1622
- `asset` asset in [UAI format](/assets/universal_asset_id.md)
1723

18-
https://link.trustwallet.com/open_coin?asset=c60
24+
`https://link.trustwallet.com/open_coin?asset=c60`
1925

2026
### Add asset
2127

2228
Asset will be added to local storage and will show up on the wallet screen.
2329

2430
- `asset` asset in [UAI format](/assets/universal_asset_id.md)
2531

26-
https://link.trustwallet.com/add_asset?asset=c60_t0x514910771af9ca656af840dff83e8264ecf986ca
32+
`https://link.trustwallet.com/add_asset?asset=c60_t0x514910771af9ca656af840dff83e8264ecf986ca`
2733

2834
## Payment
2935

@@ -32,7 +38,7 @@ https://link.trustwallet.com/add_asset?asset=c60_t0x514910771af9ca656af840dff83e
3238
- `code` unique code
3339
- `provider` provider url
3440

35-
https://link.trustwallet.com/redeem?code=abc123
41+
`https://link.trustwallet.com/redeem?code=abc123`
3642

3743
### Send Payment:
3844

@@ -42,38 +48,38 @@ https://link.trustwallet.com/redeem?code=abc123
4248
- `memo` Optional. Memo
4349
- `data` Optional. Data
4450

45-
https://link.trustwallet.com/send?asset=c60_t0x6B175474E89094C44Da98b954EedeAC495271d0F&address=0x650b5e446edabad7eba7fa7bb2f6119b2630bfbb&amount=1&memo=test
51+
`https://link.trustwallet.com/send?asset=c60_t0x6B175474E89094C44Da98b954EedeAC495271d0F&address=0x650b5e446edabad7eba7fa7bb2f6119b2630bfbb&amount=1&memo=test`
4652

4753
### Referral:
4854

49-
https://link.trustwallet.com/referral
55+
`https://link.trustwallet.com/referral`
5056

5157
## Staking
5258

5359
### Stake details:
5460

5561
- `coin` slip44 index
5662

57-
https://link.trustwallet.com/stake?coin=118
63+
`https://link.trustwallet.com/stake?coin=118`
5864

5965
### Stake / Delegate:
6066

6167
- `coin` slip44 index
6268
- `id` validator / delegator to be selected. Optional
6369

64-
https://link.trustwallet.com/stake_delegate?coin=118&id=cosmosvaloper156gqf9837u7d4c4678yt3rl4ls9c5vuursrrzf
70+
`https://link.trustwallet.com/stake_delegate?coin=118&id=cosmosvaloper156gqf9837u7d4c4678yt3rl4ls9c5vuursrrzf`
6571

6672
### Unstake / Undelegate:
6773

6874
- `coin` slip44 index
6975

70-
https://link.trustwallet.com/stake_undelegate?coin=118
76+
`https://link.trustwallet.com/stake_undelegate?coin=118`
7177

7278
### Claim Rewards:
7379

7480
- `coin` slip44 index
7581

76-
https://link.trustwallet.com/stake_claim_rewards?coin=118
82+
`https://link.trustwallet.com/stake_claim_rewards?coin=118`
7783

7884
## Exchange
7985

@@ -82,72 +88,54 @@ https://link.trustwallet.com/stake_claim_rewards?coin=118
8288
- `from` asset in [UAI format](/assets/universal_asset_id.md)
8389
- `to` asset in [UAI format](/assets/universal_asset_id.md)
8490

85-
https://link.trustwallet.com/swap?from=c60_t0x6B175474E89094C44Da98b954EedeAC495271d0F&to=c60
91+
`https://link.trustwallet.com/swap?from=c60_t0x6B175474E89094C44Da98b954EedeAC495271d0F&to=c60`
8692

8793
### Open Buy Crypto
8894

8995
- `asset` asset in [UAI format](/assets/universal_asset_id.md)
9096

91-
https://link.trustwallet.com/buy?asset=c60_t0x6B175474E89094C44Da98b954EedeAC495271d0F
97+
`https://link.trustwallet.com/buy?asset=c60_t0x6B175474E89094C44Da98b954EedeAC495271d0F`
9298

9399
### Open Sell Crypto
94100

95101
- `asset` asset in [UAI format](/assets/universal_asset_id.md)
96102

97-
https://link.trustwallet.com/sell?asset=c60_t0x6B175474E89094C44Da98b954EedeAC495271d0F
103+
`https://link.trustwallet.com/sell?asset=c60_t0x6B175474E89094C44Da98b954EedeAC495271d0F`
98104

99105
### Open Market Info
100106

101107
- `asset` asset in [UAI format](/assets/universal_asset_id.md)
102108

103-
https://link.trustwallet.com/market?asset=c60_t0x6B175474E89094C44Da98b954EedeAC495271d0F
109+
`https://link.trustwallet.com/market?asset=c60_t0x6B175474E89094C44Da98b954EedeAC495271d0F`
104110

105111
### Open Notifications
106112

107-
https://link.trustwallet.com/notifications
113+
`https://link.trustwallet.com/notifications`
108114

109115
### Open Price alerts
110116

111-
https://link.trustwallet.com/alerts
112-
113-
#### Available domains links:
114-
115-
- `https://link.trustwallet.com`
116-
- `trust://`
117-
118-
#### Definition
119-
120-
slip44 index - https://github.com/trustwallet/wallet-core/blob/master/docs/registry.md
117+
`https://link.trustwallet.com/alerts`
121118

122119
## WalletConnect
123120

124121
### Connect to a WalletConnect session
125122

126-
https://link.trustwallet.com/wc?uri=wc%3Aca1fccc0-f4d1-46c2-90b7-c07fce1c0cae%401%3Fbridge%3Dhttps%253A%252F%252Fbridge.walletconnect.org%26key%3Da413d90751839c7628873557c718fd73fcedc5e8e8c07cfecaefc0d3a178b1d8
127-
128-
#### Available domains links:
129-
130-
- `https://link.trustwallet.com`
131-
- `trust://`
123+
`https://link.trustwallet.com/wc?uri=wc%3Aca1fccc0-f4d1-46c2-90b7-c07fce1c0cae%401%3Fbridge%3Dhttps%253A%252F%252Fbridge.walletconnect.org%26key%3Da413d90751839c7628873557c718fd73fcedc5e8e8c07cfecaefc0d3a178b1d8`
132124

133125
## NFTs
134126

135127
Open NFTs tab.
136128

137129
`https://link.trustwallet.com/nfts`
138130

139-
#### Available domains links:
140-
141-
- `https://link.trustwallet.com`
142-
- `trust://`
143-
144131
## Quest
145132

146133
Open the quest page.
147134

148135
`https://link.trustwallet.com/quest`
149136

150-
#### Available domains links:
137+
## Launchpool
138+
139+
Open the Launchpool page.
151140

152-
- `https://link.trustwallet.com`
153-
- `trust://`
141+
`https://link.trustwallet.com/launchpool`

0 commit comments

Comments
 (0)