Connect a mobile client to wallet on remote Bitcoin Core

0

I run a Bitcoin Core node on my computer and have a Windows tablet. My wallet is on the computer and I want to keep it there. Is there a way to have my tablet create a new Bitcoin address for my wallet by telling my node to do it and sending me the result, thus keeping my private keys and wallet off my tablet?

H. C. Barton

Posted 2016-01-30T03:47:31.880

Reputation: 125

Answers

2

Yes, you can use the node's RPC API method getnewaddress to create a new public-key pair and it will return the address.

karask

Posted 2016-01-30T03:47:31.880

Reputation: 2 154

That sounds great. Can you tell me how it's done on Windows? – H. C. Barton – 2016-01-30T13:38:32.893

You will need to write some code for this. An example in C# (for a different API method but you get the idea) can be found here. Another in C can be found here. Most languages have a bitcoin library that makes it very easy to call the API methods: bitcoinJ for Java, bitcoinJS for Javascript, bitcoin-ruby for Ruby, pybitcointools and pycoin for Python, etc. I am not aware of an existing tool that does this easier.

– karask – 2016-01-30T20:23:48.073

Thank you, karask. It also linked to a C# library on github, but that one looks like I would have to resync from the beginning, so I'll try your link first. – H. C. Barton – 2016-01-30T23:15:49.943