This project provides a user signup and login solution integrated with the Hedera blockchain. It allows users to create Hedera wallets or import existing wallets during the signup process. Integration with Hedera provides the necessary security and decentralization for Web3 applications. The project was developed using Angular, Ionic, and NestJs technologies to ensure a rich and efficient user experience.
-
User Signup with Hedera Wallet Creation: Users can sign up on the platform, which includes the automatic creation of a Hedera wallet for them. This allows them to participate in the Web3 network and perform transactions securely.
-
Import Existing Hedera Wallet During Signup: During the signup process, users have the option to import an existing Hedera wallet if they already have one. This offers flexibility for users who wish to use an existing wallet instead of creating a new one.
-
User Login from Existing Account: Users can log in to their existing accounts using their credentials. This provides a simple and quick authentication experience to access their wallets and other related information.
-
Encryption and Decryption of Locally Stored Information: Sensitive information stored locally, such as private keys and other confidential data, is encrypted to ensure security. Additionally, the platform allows decryption of this information when needed for interaction with the Hedera network.
- List of technologies and libraries used in the project:
- Hedera Hashgraph
- @hashgraph/sdk
- MongoDB
- Nest.js (Node.js)
- Angular & Ionic Frameworks
- Node.js and npm installed.
- Hedera testnet wallet (Sign up and create a wallet here: https://portal.hedera.com/register)
- MongoDB database (Sign up and create a database here: https://www.mongodb.com/pt-br)
- Clone this repository.
git clone https://github.com/llLeco/SignUpWeb3App.git
- Navigate to the backend directory:
cd SignUpApp-Backend/
- Install dependencies:
npm install ou yarn install
- Navigate to the frontend directory:
cd SignUpApp-Frontend/
- Install dependencies:
npm install ou yarn install
- Create a file named .env in the root of the backend project with this information:
HEDERA_PRIVATE='SuaChavePrivadaHedera'
HEDERA_ACCOUNT='SuaContaHedera' (0.0.xxxxxxxx)
MONGODB_URL='URLDoBancoDeDadosMongoDB' (mongodb+srv://username:[email protected]/)
- Inside the backend directory, start the server:
npm start ou yarn start
- Inside the frontend directory, start the app:
ionic serve
- Access the application at:
http://localhost:8000