Tech: NodeJS and Ethers
The following required functionality is completed:
- I want to see a summary of total deposits and transactions
- Connect to the Binance Smart Chain network securely.
- Load the CC Profile contract using its contract address.
- Perform appropriate error checking and handle any potential exceptions or failures during contract interaction.
- Implement proper input validation and sanitization to ensure the integrity of user-provided data.
- Call the createProfile function in the contract to securely register a new user profile. The function takes two parameters: the user's Ethereum address and the user's handle name.
- Call the contract to read and retrieve the handle name of the registered user. Print the handle name of the registered user on the console securely.
Noted: All variables in .env are testnet including the private key.
cd mocaverse-interview-test
npm install
npm start