I am making a program which will take a .wif private key, and send all funds from the wallet represented by the key to a certain address. I need this to be fully automated, but I can't seem to find any simple API which can send from a .wif. Thanks!

1 Answer 1


You can just do it yourself instead of having to send a 3rd party your private keys. Here's one that I wrote using nodejs and bitcore-lib that takes a WIF and sends all funds to a different address.


  • Thanks for this. While looking around i discovered bitcoinjs-lib, which i will just be using to generate a transaction then use some api to broadcast that (don't want to have to sync blockchain for this). Commented Mar 22, 2017 at 4:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.