-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Best way to transfer accounts between providers? #1501
Comments
I am facing the same problem but read somewhere that if we want to use it same way to simply call contract functions even if they're state changing, you have to sign each transaction before sending it with your private key. Allthough may be my node code is having some problem, I find the concept valid. I'm also looking or a way to add private key to our keychain and then start transacting simply. |
That's a cute honeypot. I believe those accounts are stored with the Geth node, so it makes sense for them to be attached to the provider. web3.eth.personal doesn't mention the ability to import/export accounts to/from this personal account list. However, as described under web3.eth.accounts, you can use If you want to re-use a wallet of accounts, you could encrypt them with If you are having issues with this wallet not functioning as expected, I am happy to help but I'll need some more information. |
Closed because of the ongoing clean up of the issue list. Feel free to ask this in our gitter channel or on stackoverflow. |
I am currently building a project with Web3.js on Quorum.
So far, the accounts you can use for transactions are seemingly coupled to the connection/provider you connect to, with no way to extract and import the private key back into another connection, if I am not mistaken.
With web3 1.0, there also seems to be the possibility of importing accounts from a private key and adding them to the wallet, like so:
But then, there seems to be no way to add it to the personal "keychain" (web3.eth.personal) and use the unlock functionality. And as far as I can tell, I can not deploy a contract/do a transaction with these accounts, at least not on Quorum.
Why can't normally generated accounts be imported/exported? Isn't this a bad idea considering the provider they are coupled to can go down at any point in time?
And is the current form of importing accounts creating second-class citizen, am I missing an important command here or is this a Quorum-exclusive problem?
The text was updated successfully, but these errors were encountered: