Author

Topic: Send bitcoins from selected addresses using bitcoin-qt (Read 3270 times)

pc
sr. member
Activity: 253
Merit: 250
Doing it with Bitcoin-Qt requires the raw API, as others have said. An example of using it in python is in the "contrib" directory and is actually pretty useful: https://github.com/bitcoin/bitcoin/tree/master/contrib/spendfrom
riX
sr. member
Activity: 326
Merit: 254
Yes, you can do it with bitcoin-qt, but not through the GUI.
Just create an unique label for the address you want to send from and run
Code:
bitcoind sendfrom    [minconf=1] [comment] [comment-to]

That will not do what you think at all (accounts are *not* addresses).

The only way currently for the OP to do what they want would be to use raw tx's (and I wouldn't recommend that unless you really are very sure about what you are doing).


Oh, sorry about that, I was wrong.
I had to read the source to believe you, accounts should really be explained better, and sendfromaccount isn't a very good name then.

For the OP: Ok, so the only way to do it with bitcoin-qt is to do something like this:
Run listunspent, choose the outputs you want as inputs, do createrawtransaction, signrawtransaction, sendrawtransaction. Make sure you don't forget about fee or change.
There are scripts that can do this for you.


Or just export the private keys and use something like brainwallet.org if it's a one time thing you need to do.
legendary
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
it's for bookeeping ONLY.

And even for bookkeeping they are not very useful (as typical bookkeeping involves keeping track of individual account transactions which basically you can't do with Bitcoin).
legendary
Activity: 2058
Merit: 1452
Yes, you can do it with bitcoin-qt, but not through the GUI.
Just create an unique label for the address you want to send from and run
Code:
bitcoind sendfrom    [minconf=1] [comment] [comment-to]
accounts system is in no way related to how addresses work. it's for bookeeping ONLY.
legendary
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
Yes, you can do it with bitcoin-qt, but not through the GUI.
Just create an unique label for the address you want to send from and run
Code:
bitcoind sendfrom    [minconf=1] [comment] [comment-to]

That will not do what you think at all (accounts are *not* addresses).

The only way currently for the OP to do what they want would be to use raw tx's (and I wouldn't recommend that unless you really are very sure about what you are doing).
legendary
Activity: 3472
Merit: 4801
Be aware that Bitcoin-Qt moves around the bitcoins every time you create a transaction (look into "change" addresses), so the bitcoins may not even be associated any longer with the addresses where you originally received them.
riX
sr. member
Activity: 326
Merit: 254
Yes, you can do it with bitcoin-qt, but not through the GUI.
Just create an unique label for the address you want to send from and run
Code:
bitcoind sendfrom    [minconf=1] [comment] [comment-to]
hero member
Activity: 576
Merit: 514
Not with the official client. Search the forum for coincontrol; it looks liike it could make it into the next release.
Some other clients already have this feature though.
newbie
Activity: 22
Merit: 0
Hi!

I have several addresses in my bitcoin-qt wallet. Is it possible for me to select from which addresses I want to initiate a transfer from? I want coins only to be transferred from some of these addresses, but not all. How to do it?

Thanks!
Jump to: