Trust Wallet
Trust Wallet is the official crypto wallet of Binance. You can send, receive and store Bitcoin and many other cryptocurrencies and digital assets safely and securely with the Trust Wallet mobile app. At the moment of writing Trust Wallet has more than 25 million users.
How WPSmartContracts uses Trust Wallet?
WPSmartContracts creates a connection between WalletConnect protocol (supported by Trust Wallet) and their decentralized applications by using Web3 JavaScript code for interactions between the wallet apps and Smart Contracts.
Trust Wallet can be used in the plugin for frontend interactions. The end-user can interact with the deployed smart contracts using any compatible WalletConnect app, like trust wallet or any other.
Trust Wallet can used only for Frontend interactions. All backend and admin settings are handled by Metamask
You can use Trust Wallet in your mobile phone in two ways
Scanning QR Codes
This is a mixed navigation style. You can browse the website on your Desktop while approving transaction in your phone
dApp Browser
This is a phone only navigation style.
Trust Wallet with QR Scanning
A simple BEP-20 transfer example using Trust Wallet and QR codes scanning
Learn how to use Trust Wallet with QR codes
The first step is to connect our website to the Trust Wallet mobile app
Click on the wallet dropdown at the top right of the screen and select "Other wallets"
Click on "WalletConnect" a QR code will appear
Go to Trust Wallet on your mobile phone and tap "Settings" then "WalletConnect"
Tap "New connection" and then scan the QR code on your desktop
Tap on your wallet name and select the correct network, in our case it is “Binance Smart Chain”
Then click on “Connect” and wait for the connection to be established
Once connected, you can view your account and balance on the website
Click on "Transfer" and then the destination address, write the amount and click on the "Transfer" button
At this moment a pop-up window will appear in the Trust Wallet app, tap "Approve" and authenticate to confirm the transfer
While the transaction is confirmed, you can explore the transaction on the block explorer
When the transaction is completed, you'll see your updated balance on the Trust Wallet website and app
You can use TrustWallet on your phone to approve transactions while navigating a dApp website on your Desktop or another device.
Trust Wallet dApp browser
In this demo, we are going to use the Trust Wallet dApp browser to purchase an NFT item using a Matcha smart contract on the Avalanche C-Chain mainnet
Learn how to use Trust Wallet with dApp browser
To get started, tap on the DApps tab in the Trust Wallet mobile app
Navigate to the desired website url
When your site is loaded, tap on the top bar to select the correct network, in our example it's Avalanche
Then in the top left wallet section choose "Other Wallets" to connect your website to Trust Wallet
Now we are going to show how to buy the NFT
Navigate to the bottom of the page and tap the "Buy" button
Tap the "Buy" button, a pop-up window will appear
Confirm the price to pay and tap "Buy"
To confirm the transaction, tap "Approve", authenticate and wait for the transaction to finish
Once confirmed, you can see that your account now owns the NFT item
WalletConnect Smart Contract Wizard