user11706: 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...

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

11706: <p>I have a:</p>
<ul>
<li>Wallet public/private key pair with X BTC</li>
<li>Wallet address I want to sent Y BTC to</li>
</ul>
<p>I'm developing an app in NodeJS and trying to initiate payments automatically. I'm very confused how I'm supposed to do this.</p>
<p>From my research, it seems like I have to generate some &quot;raw&quot; transaction hash, then encrypt that again with my private key, then I'm supposed to broadcast that encrypted data.</p>
<p>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...</p>
 95806: <p>Follow this example: <a href="https://github.com/OutCast3k/coinbin/" rel="nofollow noreferrer">https://github.com/OutCast3k/coinbin/</a><br>
This app does everything you need</p>
