This pull request enhances the application's functionality by introducing a new feature for verifying the connected account's digital signature. Here's a breakdown of the key changes:
Signature Verification: The system now checks the validity of the user's digital signature. This ensures the authenticity of the connected account.
Existing Account Handling: If the user already has an account, they are logged in seamlessly.
New Account Creation: For users without an existing account, a new account is created, with the user's address stored in the userAddress field.
Account Model Enhancements: The account model has been expanded to include additional fields, such as email and emailVerified. This lays the foundation for potential future enhancements, such as connecting user email addresses.
StarkNet Login Flow: The implementation of the StarkNet login flow provides a secure and seamless user experience, including a signer screen for user interactions.
These changes improve the application's security, user experience, and flexibility for future developments.
NB: You account must be deployed before you can have a valid signature.
PR Overview
This pull request enhances the application's functionality by introducing a new feature for verifying the connected account's digital signature. Here's a breakdown of the key changes:
Signature Verification: The system now checks the validity of the user's digital signature. This ensures the authenticity of the connected account.
Existing Account Handling: If the user already has an account, they are logged in seamlessly.
New Account Creation: For users without an existing account, a new account is created, with the user's address stored in the
userAddress
field.Account Model Enhancements: The account model has been expanded to include additional fields, such as
email
andemailVerified
. This lays the foundation for potential future enhancements, such as connecting user email addresses.StarkNet Login Flow: The implementation of the StarkNet login flow provides a secure and seamless user experience, including a signer screen for user interactions.
These changes improve the application's security, user experience, and flexibility for future developments.
NB: You account must be deployed before you can have a valid signature.