Author

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

sr. member
Activity: 266
Merit: 250
hero member
Activity: 525
Merit: 529
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: 2184
Merit: 1011
Franko is Freedom
Seems like he wants to make a hotwallet -> cold wallet automated.
legendary
Activity: 3388
Merit: 4615
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: 1616
Merit: 1003
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: