keep-starknet-strange / vault

Empower Your Assets, Redefine Control.
https://vlt.finance
MIT License
18 stars 16 forks source link

Implement deployment of smart contract upon verification of OTP #69

Closed ocdbytes closed 1 month ago

ocdbytes commented 2 months ago

Expected Behaviour :

mubarak23 commented 2 months ago

@ocdbytes i will like to take on this issue, kindly assign this to me

mubarak23 commented 2 months ago

if i understand this issue correctly, already on the backend codes, we have endpoint for user registration, what this issue is expected to delivered is to restructure the flow such that

  1. when user register.
  2. An OTP is send
  3. once the OTP is verified
  4. A user account is created on the DB
  5. An account smart contract for the user is deployed.

from the existing backend code, user is registered, a user record is created on the db, with out OTP verification and Account contract deployment. @ocdbytes

mubarak23 commented 2 months ago

once the OPT is verified and user account is is_confirmed = true, we will call the deploy contract function to deploy the user account contract

ocdbytes commented 2 months ago

hey @mubarak23 This issue is already assigned and I am working on it rn. You can choose any other issue and tag Lucas he will assign it to you

mubarak23 commented 2 months ago

hmm, @LucasLvy has this issue been assign to anyone

LucasLvy commented 1 month ago

yeah that's done sorry