-
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
Using version 1.0.0-beta.24, account not being created #1154
Comments
Try to create a personal account. |
The personal account creation works. I'd like to know why this doesn't work yet. If it is in the docs, it should work, else it is a bug. |
I think the docs are clear about this. When you create an account with
It would be an idea to allow the |
Ah ok, that makes sense if it is meant to be a utility module. |
why distinguish local accounts vs remote accounts? Does it make sense for them to co-exist in a given application? Just filed a related issue (#1204)... judging the |
@monokh @frozeman there is conflicting information here: https://web3js.readthedocs.io/en/1.0/web3-eth.html#sign The doc on However this would override the personal wallet object. When both a personal wallet and account wallet exist, does/should the index point always point at the local wallet? I have been placing the address in the |
I met the same problem ,have u solved it yet? |
If you're available to comment can you see if this PR is successful at clarifying the docs surrounding |
This will get improved with the PR #2631. I will update the documentation. |
Calling this command
var Web3 = require('web3');
var host = '';
var net = require('net');
var web3 = new Web3(new Web3.providers.IpcProvider(host, net));
var account = web3.eth.accounts.create(web3.utils.randomHex(32));
will give a result like this
{ address: '0x27DC662FE77BCD3c8D083bA5a6FD047eAC3885D1',
privateKey: '0x9deab8fb8b8a58fd9fa59757fc2062ed0f43657d574e3af72d4131636f46738d',
signTransaction: [Function: signTransaction],
sign: [Function: sign],
encrypt: [Function: encrypt] }
But when I run web3.eth.getAccounts, it does not display the new account.
I also checked by attaching Mist to the local dev node, also not showing the new account.
Going through web3-ipc and using newAccount is fine.
Is it creating them but not saving them?
The text was updated successfully, but these errors were encountered: