hypha-dao / hashed-wallet

Hashed Wallet
MIT License
3 stars 3 forks source link

Feature/recovery improvements #155

Closed n13 closed 2 years ago

n13 commented 2 years ago

🗃 Github Issue Or Explanation for this PR. (What is it supposed to do and Why is needed)

Moving forward some missing pieces - removed mocks and found bugs ;)

✅ Checklist

🕵️‍♂️ Notes for Code Reviewer

This removes mock results and uses real results

Some changes necessary

Also enforcing naming conventions for recovery

lostAccount is the account being recovered (even if we are recovering it, we keep calling it lostAccount)

rescuer is the account trying the rescue - in our current wallet that's always the same as accountService.currentAccount.addresss - but we want to keep the UX somewhat flexible.

rescuer could be any account we have in our keychain - as long as we have signing rights, meaning the private key, we can sign.

🙈 Screenshots

👯‍♀️ Paired with