S
S
Semyon Novikov2018-10-18 20:04:28
bitcoin
Semyon Novikov, 2018-10-18 20:04:28

How to implement a mechanism for choosing inputs for a bitcoin transaction?

You need to send bitcoin transactions using a private key. I found a solution for go , but only one tx of the previous transaction is indicated there, and not all inputs - it is not clear which algorithm for enabling inputs should be taken and how to implement it. Is there a solution/library to make it take optimal inputs by itself?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Leonid Svalov, 2018-10-22
@leonidsvalov

At the expense of an incomplete node: using the provider's public API. Receiving information from the network and broadcasting transactions will fall on his shoulders.
Now available:
chain.com
blockchain.info/en/api (not recommended)
www.blockcypher.com
chain.so/api
coinalytics.co
www.blocktrail.com
coinkite.com/developers

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question