{"action":"created","issue":{"url":"https://api.github.com/repos/ethereumjs/testrpc/issues/24","repository_url":"https://api.github.com/repos/ethereumjs/testrpc","labels_url":"https://api.github.com/repos/ethereumjs/testrpc/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/ethereumjs/testrpc/issues/24/comments","events_url":"https://api.github.com/repos/ethereumjs/testrpc/issues/24/events","html_url":"https://github.com/ethereumjs/testrpc/pull/24","id":139464846,"number":24,"title":"Support defining accounts instead of the randomly generated ones","user":{"login":"axic","id":20340,"avatar_url":"https://avatars.githubusercontent.com/u/20340?v=3","gravatar_id":"","url":"https://api.github.com/users/axic","html_url":"https://github.com/axic","followers_url":"https://api.github.com/users/axic/followers","following_url":"https://api.github.com/users/axic/following{/other_user}","gists_url":"https://api.github.com/users/axic/gists{/gist_id}","starred_url":"https://api.github.com/users/axic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axic/subscriptions","organizations_url":"https://api.github.com/users/axic/orgs","repos_url":"https://api.github.com/users/axic/repos","events_url":"https://api.github.com/users/axic/events{/privacy}","received_events_url":"https://api.github.com/users/axic/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":25,"created_at":"2016-03-09T03:21:22Z","updated_at":"2016-03-24T17:35:00Z","closed_at":"2016-03-24T17:17:28Z","pull_request":{"url":"https://api.github.com/repos/ethereumjs/testrpc/pulls/24","html_url":"https://github.com/ethereumjs/testrpc/pull/24","diff_url":"https://github.com/ethereumjs/testrpc/pull/24.diff","patch_url":"https://github.com/ethereumjs/testrpc/pull/24.patch"},"body":"It also adds a command line argument `--account=1f1f...` which can be passed multiple times to enable more accounts."},"comment":{"url":"https://api.github.com/repos/ethereumjs/testrpc/issues/comments/200941857","html_url":"https://github.com/ethereumjs/testrpc/pull/24#issuecomment-200941857","issue_url":"https://api.github.com/repos/ethereumjs/testrpc/issues/24","id":200941857,"user":{"login":"axic","id":20340,"avatar_url":"https://avatars.githubusercontent.com/u/20340?v=3","gravatar_id":"","url":"https://api.github.com/users/axic","html_url":"https://github.com/axic","followers_url":"https://api.github.com/users/axic/followers","following_url":"https://api.github.com/users/axic/following{/other_user}","gists_url":"https://api.github.com/users/axic/gists{/gist_id}","starred_url":"https://api.github.com/users/axic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axic/subscriptions","organizations_url":"https://api.github.com/users/axic/orgs","repos_url":"https://api.github.com/users/axic/repos","events_url":"https://api.github.com/users/axic/events{/privacy}","received_events_url":"https://api.github.com/users/axic/received_events","type":"User","site_admin":false},"created_at":"2016-03-24T17:35:00Z","updated_at":"2016-03-24T17:35:00Z","body":"It will only create the same set of accounts, if the following code is strictly run in succession and nothing else calls it between account creation:\r\n\r\n`var secretKey = opts.secretKey || random.randomBytes(32, this.rng);`\r\n\r\nRight now `addAccount` is executed via `async.times()`. Make sure nothing else uses the same `this.rng` instance at least until the accounts are done."}}