yours-org / yours-wallet

A non-custodial and open-source wallet for BSV and 1Sat Ordinals.
62 stars 35 forks source link

Save Wallet Name and Url Image on creation #245

Open danwag06 opened 2 days ago

danwag06 commented 2 days ago

The wallet currently supports giving different accounts a name (label) and a url icon. The request would be to optionally save this information when creating/restoring/importing the wallet.

maxslimb commented 2 days ago

I am applying to this issue via OnlyDust platform.

My background and how it can be leveraged

I have worked on typescript and JS before on various projects and latest I was working with Nethermind on the Voyager starknet block explorer

danwag06 commented 2 days ago

@maxslimb if you'd like to tackle this, see https://github.com/yours-org/yours-wallet/blob/main/CONTRIBUTING.md

When saving you'll want to do something similar to this to save the name and/or icon in chrome local storage: https://github.com/yours-org/yours-wallet/blob/312241c2273261d600b640f87d3a40d160bb8354/src/pages/Settings.tsx#L223

There are a number of different ways a user can create/import/restore a wallet which can be found here: https://github.com/yours-org/yours-wallet/tree/main/src/pages/onboarding