A wallet is a simple application where users can sign in, generate accounts in different blockchains, and send and receive payments. They are owners of the private keys for every blockchain address, and the wallet provider has no access to them.
In this tutorial, you will learn how to build a custodial wallet backend on Tatum. All you will have to do after this tutorial is to create a nice frontend for your application.
There are two logical groups of actions that must be done to create a wallet:
Registration of new users in the application - what must be done during the registration phase
User application journey - what kind of actions users take while in the application
When a new user signs up for the application, blockchain wallets and ledger accounts must be created. Every user should have their own blockchain wallet. Every account should be created with the external ID of the customer. This makes it possible to list all accounts for the specific customer.
When you create accounts, blockchain addresses should be created and connected to the ledger accounts. This starts the process of automatic synchronization of incoming blockchain transactions. It is possible to enable webhook notifications for every incoming transaction to the account.
When the user signs into the application, a list of their accounts should be visible. Usually, the last transactions that occurred in any of the accounts are presented as well.
The user can see the details of the account and transactions connected only to this account. Usually, it is good to display the blockchain addresses connected to this account to send a blockchain transaction.
Finally, there should be the option to send the transaction from the account to a blockchain address.
So there you have it. There are many more things that you can enhance in your app and many more features to implement, but this should be a reasonable start for you and your wallet.