Author

Topic: A script to forward btc to a consolidated address? (Read 1323 times)

sr. member
Activity: 266
Merit: 250
hero member
Activity: 525
Merit: 531
sr. member
Activity: 266
Merit: 250
Hi experts.

Yes. One reason is to build an offline address or cold wallet. But this may not the best approach.

Another reason is to find a reason to fire up my IDE again. Lol Smiley

I will read the api over the weekend.
legendary
Activity: 2198
Merit: 1014
Franko is Freedom
Seems like he wants to make a hotwallet -> cold wallet automated.
legendary
Activity: 3472
Merit: 4801
Thanks. So its inevitable i have to run a bitcoind and host a node?

No.  There are services such as blockchain.info and coinbase.com that provide an API interface as well.

I suppose the real question is, why bother forwarding the bitcoins to a separate address?  What are you trying to accomplish?  Why not simply leave the bitcoins where you receive them until you are ready to spend them?
sr. member
Activity: 266
Merit: 250
If you are using the bitcoin core wallet there is the JSON API that you can use from almost any language.

https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list

https://bitcoin.org/en/developer-reference

Thanks. So its inevitable i have to run a bitcoind and host a node?
donator
Activity: 1617
Merit: 1012
If you are using the bitcoin core wallet there is the JSON API that you can use from almost any language.

https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list

https://bitcoin.org/en/developer-reference
sr. member
Activity: 266
Merit: 250
I currently have 3 addresses that is receiving payment for mining and cloud mining. I used 3 addresses so i could monitor if payment comes through. I hold the private keys for these addresses.

I am thinking of writing a script to auto forward all payments received to a single address every X hours.

Can any pros give ideas how should I begin? What should I read up on? Any specific api?

I have IT background and some development background which I neglected in recent years. It has become a side hobby rather than a profession.
Jump to: