Author

Topic: need CLI script (Linux) to perform 1:n transactions w/o local blockchain (Read 831 times)

legendary
Activity: 1143
Merit: 1000
I think a good start would be looking into armory source code.. https://en.bitcoin.it/wiki/Armory
I know for sure that they do 1 to N transactions.
hero member
Activity: 882
Merit: 533
That's fairly trivial to do (I think) but if you want it to also sign the transaction, then you will need access to the blockchain somehow. Either you as the user would have to input all of the necessary data (output script, txid, vout) or it needs to access the blockchain somehow to look up the data that it needs.

Ok - but on the practical side: Can I have some pointers to existing solutions on github or similar?
That's what I hoped for. I could live with a (heavily) pruned blockchain on the machine running the script.


Rico


you just need some basic bash/python/php/nodejs (or annother) and some imagination. You will then quickly find a solution to your problem, you could even do more. Eventually you will build a project around the script and release some nice new services.
Just download bitcoind, read some guides, and start developing using bitcoin, you will save a lot of time.
legendary
Activity: 1120
Merit: 1037
฿ → ∞
That's fairly trivial to do (I think) but if you want it to also sign the transaction, then you will need access to the blockchain somehow. Either you as the user would have to input all of the necessary data (output script, txid, vout) or it needs to access the blockchain somehow to look up the data that it needs.

Ok - but on the practical side: Can I have some pointers to existing solutions on github or similar?
That's what I hoped for. I could live with a (heavily) pruned blockchain on the machine running the script.


Rico
staff
Activity: 3458
Merit: 6793
Just writing some code
That's fairly trivial to do (I think) but if you want it to also sign the transaction, then you will need access to the blockchain somehow. Either you as the user would have to input all of the necessary data (output script, txid, vout) or it needs to access the blockchain somehow to look up the data that it needs.
legendary
Activity: 1120
Merit: 1037
฿ → ∞
I'll need a way to perform transactions from one BTC address to N other BTC addresses.

Requirements/constraints:

 * the script should run on Linux and have a command line interface
 * should be slightly more high-level than bitcoin-cli - may be a wrapper
 * I do not have - nor want - a local blockchain
 * I do not want to use any external APIs


Ideally, I should be able to perform transactions similar to the puzzle transaction
https://blockchain.info/de/tx/08389f34c98c606322740c0be6a7125d9860bb8d5cb182c02f98461e5fa6cd15
or e.g. what pools like eligius.st do when the perform payouts to clients.

Suggestions?


Rico
Jump to: