-
Notifications
You must be signed in to change notification settings - Fork 441
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
how to import wallet by keystore and password? #9
Comments
hi , you Now solved ? |
What kind of keystore do you have? Is it from Geth? |
@shamatar |
There is an example for it in tests too
Would you try and give your feedback |
@shamatar My goal is to get the private key by keystore and password. |
If you want to export the private key - just use the
Otherwise if you follow the normal workflow for sending ETH, tokens or interacting with a smart-contract you can use an encrypted keystore and only supply a password to decrypt it when sending a transaction. |
thanks for reply! other question,privateKey is Data type. How to transform type? I tried Base64EncodingOptions ...... |
You need to encode as hex, please check the SO for examples
…________________________________
From: QA411 <notifications@github.com>
Sent: Thursday, August 30, 2018 11:46:16 AM
To: matterinc/web3swift
Cc: Alexander; Mention
Subject: Re: [matterinc/web3swift] how to import wallet by keystore and password? (#9)
thanks for reply! other question,privateKey is Data type. How to transform type?
eg: 8b4466d6d85fb8f8c90e0008987b09af9b249d1599d36dcbdae2d9e3ede8d779
I tried Base64EncodingOptions ......
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#9 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AGKv97qBdn4I5LlKE-_yqDPVDMvJPEQbks5uV6ZYgaJpZM4WM4a1>.
|
Done in documentation and closed |
Adding erc777 and erc1400, fixes in other ercs
From @chenshuai0710 on August 9, 2018 9:58
hi,I want to import wallet by keystore and password. what should I do?
thanks
Copied from original issue: BANKEX/web3swift#210
The text was updated successfully, but these errors were encountered: