Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const privateKey = ‘0x0123’;
- const userPassword = ‘1234’;
- const wallet = new DetherJS.Ethers.Wallet(privateKey);
- const encryptedWallet = await wallet.encrypt(userPassword);
- const user = await dether.getUser(encryptedWallet);
Add Comment
Please, Sign In to add comment