issues
search
rahataid
/
rahat-beneficiary-mgmt
A web-based application facilitating beneficiary registration management and streamlining the process
0
stars
2
forks
source link
Send wallet verification link
#385
Closed
binod-rumsan
closed
1 month ago
binod-rumsan
commented
1 month ago
ADMIN: Send V. Link
Check if benef has email address
Encrypt benef. wallletAddress
Fetch baseURL from settings by name VERIFICATION_APP
Prepare verfication URL Eg:
http://localhost:3000/verify?data=encryptedData
Send email using Queue
BENEFICIARY: Verify Wallet
Click link and go to verification page
Read encryptedData from URL
Sign encryptedData using wallet [Metamask]
Send signature to backend
Extract encryptedData from signature
Decrypt data
Check if decrypted walletAddress===signedWalletAddress
Update verified flag true/false
ADMIN: Send V. Link
BENEFICIARY: Verify Wallet