Dapp users need to sign transactions on the Dapp without disclosing their private keys. They want to be able to securely store their private keys, easily use and manage their addresses, and easily use the different Dapps. All of this can be performed by wallets. These can be desktop applications, browser extensions, hardware dongles or smart contracts themselves.
In the case of Dapps, the best option is to opt for a browser wallet. These are easy to find and to install. They provide developers with a library that can be used in their Dapp to connect with the user wallet.
The most common wallets are:
In this chapter, we will use the Temple Wallet as an example, developed and maintained by Madfish solutions. This first part is a tutorial about how to install and use the wallet.
The Temple wallet browser extension can be downloaded from templewallet.com.
Choose your browser and add Temple to your extensions. You will have the choice to import an existing wallet, or to create a new one.
Let's create a new wallet, choose a password and save the mnemonic phrase.
You'll get to the main page:
Let's import a faucet for the Hangzhou network. First, download a faucet JSON from teztnets.xyz.
Then, open the Temple Wallet. Click on the network dropdown bar (1), select Hangzhou network. Then click on your account thumbnail (2), then "Import account" and finally "Faucet file". You can load your JSON file here.
Once the activation is confirmed, you will automatically be redirected to the Temple main page with your activated account.
Send a transaction
Now that you have an account with some funds from the faucet, let's send some of them to our first account. Click on "Send".
You can send funds to any address by manually filling the recipient, or you can choose from one of your addresses by clicking on the list that appears when you click in the text box.
Send 100 Tez (or another amount) to your first account. A confirmation page will pop up. You can review some information on this page: transaction amount, receiver and fees.
All the transaction information can be found under the "Raw" tab:
Once the transaction is confirmed, you can switch to your first account (by clicking on the top-right thumbnail) and observe that your account balance has indeed increased to 100 Tez.
Temple is a user-friendly wallet for Tezos. Within a few clicks, a transaction can be sent to any address. Another benefit of using a wallet is the possibility to interact directly with Dapps. This will be detailed in the next chapter.