Implementing an application-specific wallet
For every transaction signing, a DApp can make use of wallets such as MetaMask, or can handle the private keys itself. Handling the private keys can be a more user-friendly and optimal solution at first, but the user won't always trust the DApp when it comes to handling private keys.
In this recipe, you will understand the key points of implementing application-specific wallets and using third-party solutions.
Getting ready
This recipe helps you decide on a design decision that can arise during the development of a fully functional DApp. It is an advanced topic, and knowledge of Ethereum and DApps in general are required to get the most out of this recipe.
Stepping through the first three chapters of this book is recommended if you are just getting started on this topic.
How to do it…
- Designing and implementing an application-specific wallet can help the user in many ways. Use this approach to avoid the need for the user to install additional wallet...