{"action":"created","issue":{"url":"https://api.github.com/repos/btcsuite/btcd/issues/1308","repository_url":"https://api.github.com/repos/btcsuite/btcd","labels_url":"https://api.github.com/repos/btcsuite/btcd/issues/1308/labels{/name}","comments_url":"https://api.github.com/repos/btcsuite/btcd/issues/1308/comments","events_url":"https://api.github.com/repos/btcsuite/btcd/issues/1308/events","html_url":"https://github.com/btcsuite/btcd/issues/1308","id":363971816,"node_id":"MDU6SXNzdWUzNjM5NzE4MTY=","number":1308,"title":"generate bitcoin keypair ","user":{"login":"huahuayu","id":1725060,"node_id":"MDQ6VXNlcjE3MjUwNjA=","avatar_url":"https://avatars1.githubusercontent.com/u/1725060?v=4","gravatar_id":"","url":"https://api.github.com/users/huahuayu","html_url":"https://github.com/huahuayu","followers_url":"https://api.github.com/users/huahuayu/followers","following_url":"https://api.github.com/users/huahuayu/following{/other_user}","gists_url":"https://api.github.com/users/huahuayu/gists{/gist_id}","starred_url":"https://api.github.com/users/huahuayu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huahuayu/subscriptions","organizations_url":"https://api.github.com/users/huahuayu/orgs","repos_url":"https://api.github.com/users/huahuayu/repos","events_url":"https://api.github.com/users/huahuayu/events{/privacy}","received_events_url":"https://api.github.com/users/huahuayu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-26T10:59:50Z","updated_at":"2018-09-26T11:38:17Z","closed_at":null,"author_association":"NONE","body":"I am new to btcd, I already get the testnet node up, firstly I want to generate a key pair and store it in database, but I searched in btcsuite repository/google didn't find valuable info, I read the go doc about rpcclient , there's a method called [create new account](https://godoc.org/github.com/btcsuite/btcd/rpcclient#Client.CreateNewAccount), but it doesn't return the key pair \r\n\r\nso how can I generate a keypair\r\n\r\nthere's another project claimed that can generate keypair https://github.com/vsergeev/btckeygenie/blob/master/btckey/btckey.go but I think btcd should can do it too"},"comment":{"url":"https://api.github.com/repos/btcsuite/btcd/issues/comments/424683488","html_url":"https://github.com/btcsuite/btcd/issues/1308#issuecomment-424683488","issue_url":"https://api.github.com/repos/btcsuite/btcd/issues/1308","id":424683488,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDY4MzQ4OA==","user":{"login":"huahuayu","id":1725060,"node_id":"MDQ6VXNlcjE3MjUwNjA=","avatar_url":"https://avatars1.githubusercontent.com/u/1725060?v=4","gravatar_id":"","url":"https://api.github.com/users/huahuayu","html_url":"https://github.com/huahuayu","followers_url":"https://api.github.com/users/huahuayu/followers","following_url":"https://api.github.com/users/huahuayu/following{/other_user}","gists_url":"https://api.github.com/users/huahuayu/gists{/gist_id}","starred_url":"https://api.github.com/users/huahuayu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huahuayu/subscriptions","organizations_url":"https://api.github.com/users/huahuayu/orgs","repos_url":"https://api.github.com/users/huahuayu/repos","events_url":"https://api.github.com/users/huahuayu/events{/privacy}","received_events_url":"https://api.github.com/users/huahuayu/received_events","type":"User","site_admin":false},"created_at":"2018-09-26T11:38:17Z","updated_at":"2018-09-26T11:38:17Z","author_association":"NONE","body":"as per my understanding, to generate a keypair is an offline process, no need to connect to blockchain."}}
{"actor":{"display_login":"huahuayu"}}