I have a:

  • Wallet public/private key pair with X BTC
  • Wallet address I want to sent Y BTC to

I'm developing an app in NodeJS and trying to initiate payments automatically. I'm very confused how I'm supposed to do this.

From my research, it seems like I have to generate some "raw" transaction hash, then encrypt that again with my private key, then I'm supposed to broadcast that encrypted data.

Is there some library/some simple API that can help me do this? I don't want to have to run a bitcoin server if I don't have to...

1 Answer 1


Follow this example: https://github.com/OutCast3k/coinbin/
This app does everything you need

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.