Send bitcoin raw transaction to network via webserver?

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?

Fabulous Job

Posted 2017-08-30T07:31:34.263

Reputation: 51

Answers

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.

Andrew Chow

Posted 2017-08-30T07:31:34.263

Reputation: 40 910

When running a bitcoin node on my webserver, what do I need to pay attention to regarding e.g. security?Fabulous Job 2017-08-31T06:03:22.690

@FabulousJob: That's a separate question, please ask it as a new question.Nate Eldredge 2017-08-31T13:52:26.807

0

a link to some discussion without full client here:

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

pebwindkraft

Posted 2017-08-30T07:31:34.263

Reputation: 4 568