You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make sure you have the latest app version, check if there is any new update on Google Play or App Store
3
+
Make sure you have the [latest app version](https://trustwallet.com/download), check if there is any new update on Google Play or App Store
4
4
5
5
## 1. Install a mobile web console
6
6
7
-
we use [vConsole](https://github.com/Tencent/vConsole) on our test dapp: https://js-eth-sign.surge.sh/, click the bottom green `vConsole` button to see logs.
7
+
We use [vConsole](https://github.com/Tencent/vConsole) on our test dapp: https://js-eth-sign.surge.sh/, click the bottom green `vConsole` button to see logs.
Download Trust Wallet apk from [trustwallet.com](https://trustwallet.com) and drag it to your emulator. (app installed from Google Play won't work)
13
+
Download Trust Wallet apk from [trustwallet.com](https://trustwallet.com/download) and drag it to your emulator. (app installed from Google Play won't work)
14
14
15
15
Open the dapp in Trust Wallet (1inch.io as example)
16
16
@@ -23,13 +23,4 @@ Visit `chrome://inspect/#devices` or `edge://inspect/#devices` to inspect the we
23
23
24
24
## 3. [iOS] Safari WebView debugging
25
25
26
-
iOS doesn't support debugging app built for distribution, you can try to build this iOS demo in [trust-web3-provider](https://github.com/trustwallet/trust-web3-provider) and check if it can connect to your DApp or not, please follow this [guide](https://webkit.org/web-inspector/enabling-web-inspector/) to inspect.
27
-
28
-
## Contact us
29
-
30
-
If above doesn't help, please create an issue on [trust-web3-provider](https://github.com/trustwallet/trust-web3-provider) and elaborate your question as detail as possible.
31
-
32
-
1. What's your app version and OS version?
33
-
2. Do you see any js error?
34
-
3. How to reproduce? please record a video if possible
35
-
4. what's the url of your dapp?
26
+
iOS doesn't support debugging app built for distribution, you can try to build this iOS demo in [trust-web3-provider](https://github.com/trustwallet/trust-web3-provider/tree/main/packages/ios-web3-provider) and check if it can connect to your DApp or not, please follow this [guide](https://webkit.org/web-inspector/enabling-web-inspector/) to inspect.
Copy file name to clipboardExpand all lines: dapps/listing-guide.md
+3-27Lines changed: 3 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,46 +4,22 @@ Joining the Trust Wallet ecosystem with an already established base of users, pr
4
4
5
5
Trust Wallet is proud of the high standards of quality required for listed dApps, where the user and their experience are the key areas of focus. The app is one of the most popular wallets available for easy access to digital assets and dApps in one place.
6
6
7
-
By improving the functionality of your project and its overall optimization, you allow users already familiar with the Trust Wallet space the best chance of using your dApp. Taking advantage of the vibrant [community](https://twitter.com/trustwalletapp) is a logical step to take. Marketing efforts also help, so get in touch with the Trust Wallet team via [Trust Wallet Community](https://community.trustwallet.com/) to explore more promotional opportunities.
7
+
By improving the functionality of your project and its overall optimization, you allow users already familiar with the Trust Wallet space the best chance of using your dApp. Taking advantage of the vibrant [community](https://twitter.com/TrustWallet) is a logical step to take.
8
8
9
9
Missing out on just any one part of the optimization and application process will ultimately lead to an unsuccessful application. The journey involves rounds of:
The whole process can be divided into these key stages, along with some recommended marketing activities to help give your project a better chance of success.
15
15
16
16
-[ ] Optimization of your dApp for the Trust Wallet browser
17
17
-[ ] Optimization of your dApp for desktop users
18
-
-[ ] Uploading of required logo assets
19
18
-[ ] Application to join the Trust Wallet dApp listing
20
-
-[ ] Hosting a Trust Wallet AMA session
21
-
-[ ] Creating a Barn of Trust staking vault
22
19
23
20
Only by following closely the clearly defined instructions and recommendations will your dApp be able to join the list after careful scrutiny from the Trust Wallet team.
24
21
25
-
### Technical Requirements and Preparation
26
-
27
-
Optimizing your application will require checking off a series of key areas noted in the following optimization sections. Some technical preparation will however be required whenever assets are added to the Trust Wallet GitHub repo.
28
-
29
-
Therefore, it is required that you have a [GitHub](https://github.com) account to interact with the [Assets repo](https://github.com/trustwallet/assets) and submit your dApp logo for listing. Before uploading any image files, you must make sure they meet the following requirements:
30
-
31
-
- File Extension: `png`
32
-
- Uppercase `PNG` is considered invalid
33
-
- File Name:logo.png
34
-
- Size: 256px by 256px
35
-
- Background: Avoid transparency. White is preferred to fit in with app white/dark theme designs.
36
-
- File size: maximum 100kB. Tip: optimize your image size using a simple drag-and-drop online service such as tinypng. Your logo’s file name must also meet the following criteria: <subdomain>.<domain_name>.png
37
-
- For example: https://app.compound.finance/ => app.compound.finance.png
38
-
https://kyberswap.com/ => kyberswap.com.png
39
-
40
-
Some basic information is also required on your dApp project as part of the submission process. This includes:
41
-
42
-
- A short and clear explanation of your dApp functionality
43
-
- Your Telegram channel
44
-
- A description of your dApp for listing
45
-
- Your dApp name for the listing
46
-
- The URL of your dApp for listing
22
+
> **Important:** Do not submit any assets (logos, metadata) to the Trust Wallet Assets repository until your application has been reviewed by the Business Development team and an agreement has been reached. Premature asset submissions will be rejected.
Copy file name to clipboardExpand all lines: dapps/mobile-optimize.md
+5-11Lines changed: 5 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,20 +16,18 @@ There are simple steps for blockchain developers to implement to take full advan
16
16
17
17
## Metamask/Phantom/Keplr/Petra is a good place to start
18
18
19
-
Familiarity with MetaMask interaction for Ethereum DApps, Phantom for Solana, Keplr for Cosmos or Petra for Aptos puts you off to a good start in terms of optimizing or developing a DApps for Trust Wallet. The web3 development process is the same when using MetaMask/Phantom/Keplr/Petra as a dev tool. It’s our recommended choice for DApp development and gives you a quick, golden rule to use: if it works well with MetaMask, Phantom, Keplr or Petra it works well with Trust Wallet.
19
+
Familiarity with MetaMask interaction for Ethereum DApps, Phantom for Solana, Keplr for Cosmos or Petra for Aptos puts you off to a good start in terms of optimizing or developing a DApps for Trust Wallet. The web3 development process is the same when using MetaMask/Phantom/Keplr/Petra as a dev tool. It's our recommended choice for DApp development and gives you a quick, golden rule to use: if it works well with MetaMask, Phantom, Keplr or Petra it works well with Trust Wallet.
20
20
21
21
## Create a UI that Is mobile-friendly
22
22
23
-
It can’t be forgotten that Trust Wallet is accessed by two groups of people: those using the app on [Android](https://trustwallet.com/referral) and those using an iOS device. Your project must be developed to have a mobile-friendly UI as the Trust Wallet inbuilt browser is the primary point of access for the majority of our users.
23
+
It can't be forgotten that Trust Wallet is accessed by two groups of people: those using the app on [Android](https://trustwallet.com/download) and those using an iOS device. Your project must be developed to have a mobile-friendly UI as the Trust Wallet inbuilt browser is the primary point of access for the majority of our users.
24
24
25
25
iOS users require the latest build from Apple App Store. UI/UX design needs to also be considered in your mobile design to provide the best in-wallet experience.
26
26
27
27
## Master Web3
28
28
29
29
All Ethereum DApps should be [EIP1193](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1193.md) (Ethereum Improvement Protocol 1193) compatible. This allows for a high degree of wallet interoperability when exposing an API through JavaScript objects in the Ethereum DApp.
30
30
31
-
If you have decided upon using MetaMask as your dev tool, do not forget their [Provider Migration Guide](https://docs.metamask.io/guide/provider-migration.html). This will seriously affect the degree of compatibility between your DApp and the Trust Wallet browser without proper planning.
32
-
33
31
For Solana integration the best way would be to use the official [Wallet Adapter](https://github.com/solana-labs/wallet-adapter) which supports Trust Wallet and include it as the connection point to your DApp.
34
32
35
33
For Cosmos you can refer to the official [Keplr guide](https://docs.keplr.app/api/), just make sure to use `window.trustwallet.cosmos` instead of `window.keplr`.
@@ -40,7 +38,7 @@ Consider including an explicit Trust Wallet icon or button in your DApp. This wi
40
38
41
39
Recommended steps to improve the user experience when a user clicks or taps the Trust Wallet icon:
42
40
43
-
1. Check [How to Identify Trust Provider](https://github.com/trustwallet/trust-web3-provider#how-to-identify-trust-provider) guide.
41
+
1. Check the [trust-web3-provider](https://github.com/trustwallet/trust-web3-provider) README for provider identification guidance.
44
42
2. Verify that the DApp is open in desktop browsers or no `window.trustwallet.(ethereum/solana/cosmos/aptos)` -> Display the WalletConnect pairing popup
45
43
3. Verify that the DApp is open in the Trust Wallet DApp browser -> Access the `window.trustwallet.(ethereum/solana/cosmos/aptos)` directly.
46
44
@@ -50,14 +48,10 @@ Trust Wallet users access their wallets on both Android and iOS devices, so your
50
48
51
49
This is one of the most important areas to optimize for but is often brushed over. Just open up your DApp with the Trust Wallet browser on both an iOS and Android device, then test the DApps functionalities such as sending or depositing tokens.
52
50
53
-
## Flag issues in the trust-web3-provider repo
54
-
55
-
It may be that you have issues with the TrustWeb3Provider while optimizing your DApp. The web3 javascript wrapper provider allows you to directly file any issues through [GitHub](https://github.com/trustwallet/trust-web3-provider). The Trust Wallet team will then provide support for any queries you have in due time.
56
-
57
51
## Implement deep links
58
52
59
-
There is no native support for Web3 in iOS or Android mobile browsers. Your DApp’s links must be [deep links](deeplinking/deeplinking.md) that combine numerous steps into one simple, easy click. Without them, users will need to follow tedious and long chains of links that greatly impact the user experience.
53
+
There is no native support for Web3 in iOS or Android mobile browsers. Your DApp's links must be [deep links](../develop-for-trust/deeplinking/deeplinking.md) that combine numerous steps into one simple, easy click. Without them, users will need to follow tedious and long chains of links that greatly impact the user experience.
60
54
61
55
## References
62
56
63
-
Web3 is incredibly powerful for developing DApps and outlining their interactions with Ethereum or Solana nodes. The most up-to-date Web3 open-source [Ethereum JavaScript library](https://github.com/ethers-io/ethers.js/) or [Solana JavaScript library](https://solana-labs.github.io/solana-web3.js/modules.html) needs to be implemented for your DApp to be well optimized for the Trust Wallet browser.
57
+
Web3 is incredibly powerful for developing DApps and outlining their interactions with Ethereum or Solana nodes. The most up-to-date Web3 open-source [Ethereum JavaScript library](https://github.com/ethers-io/ethers.js/) or [Solana JavaScript library](https://github.com/solana-labs/solana-web3.js) needs to be implemented for your DApp to be well optimized for the Trust Wallet browser.
0 commit comments