Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a local wallet provider #232

Closed
lcswillems opened this issue Sep 6, 2022 · 2 comments
Closed

Add a local wallet provider #232

lcswillems opened this issue Sep 6, 2022 · 2 comments
Assignees

Comments

@lcswillems
Copy link

lcswillems commented Sep 6, 2022

A provider that loads a local wallet would be a nice improvement. It would be particularly useful for scripts that deploy smart contracts.

Another use case would be to make a web wallet. People could add their keystore in a website and use it to sign transactions directly in the app.

@MWFIAE
Copy link
Contributor

MWFIAE commented Jun 20, 2023

Bit of a late follow up, but I think everything you need is already there :)
It can handle pems, mnemonics and keystore files and provides a UserSigner that just takes a private key :)
https://github.com/multiversx/mx-sdk-js-wallet

Though it is not a good idea to directly handle users private keys in a dapp, as that will be a huge security risk :)

@andreibancioiu
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants