The main technology we used was ReactJS. We have various components of the extension and connected each part in a structured format. We can think of it as a basic react app that is connected with redux. Redux is used to transfer events to the popup and the content page to interact with the extension and webpage. We used Hedera SDK to connect users with the Hedera network. The Hedera Token Service (HTS) is used to add, create, and transfer tokens to different users. Consensus services to add new topics and sign messages on a topic. This will help in creating a secure channel of communication between users that can be managed from the wallet Contract service is used to interact with the smart contracts based dApps. The Cryptocurrency Account service is used to manage various accounts and get account details. All of the user's details will be stored in a secured extension environment only and no data is stored on servers. This will ensure that the data is not exposed online and users will have complete control over their private keys even as they use this extension. Users will only have one way to retrieve their account, which is by using the account's private key, so it is advised to the users to securely store their accounts' private keys.
When a new user starts the wallet, he will see a welcome screen, with a Getting started button. On clicking the button, the user will be taken to the registration page. Users will already have to have a Hedera account which they can create by going to the official site. After adding the credentials, he will be required to enter a password. This password will be required to log in to the wallet and access accounts. This password will also be used to encrypt the keys and hence make a secure system. After the password is set up, the user will be logged in and will be able to use the wallet accordingly.
This was the first time we worked on Hedera and it has been a great learning experience. We learned many things about hedera its smart contracts, file services, smart contracts, and account details. Hedera connects also helped us polish our react and redux skills.
Technologies used
Discussion