This projeect is created from the template Create T3 App.
To create a base system of connecting with web3 with easy, we are using Moralis, and following the setup outlined in their documentation.
The flow of how authentication works with our system is as follows:
Following the Moralis documentation, this app makes use of JWT tokens to maintain sessions. We can use this to perform wallet-related tasks in other pages.
The code in user.tsx
also calls a transfer token transaction, which makes use of Moralis V1.
I am aware of the possible improvements in this app such as better mobile responsiveness, being able to switch networks, deployment, etc. However, due to some constraints, this is as far as I have developed it.