0

What is the best way to send a raw transaction via a webserver, what role does a RPC play in this? Is a bitcoin-RPC used to send/transmit a raw transaction to the bitcoin network? Can the process of signing/creating a raw transaction be done with a RPC too? Assuming I attempt to transmit a signed raw transaction via a webserver to the bitcoin network, what do I have to keep in mind?

2 Answers 2

3

If you have a local bitcoin node (i.e. bitcoind running on the webserver), you can use the RPC command sendrawtransaction in order to send a transaction through your node to the network. Alternatively you can use a third party transaction broadcasting service like those offered by blockchain.info and blockcypher.com. Lastly, you could attempt to speak the Bitcoin P2P protocol and send the transaction directly to nodes on the network.

2
  • When running a bitcoin node on my webserver, what do I need to pay attention to regarding e.g. security? Aug 31, 2017 at 6:03
  • @FabulousJob: That's a separate question, please ask it as a new question. Aug 31, 2017 at 13:52
0

a link to some discussion without full client here:

https://bitcointalk.org/index.php?topic=1043518.0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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