Author

Topic: Help needed writing script for send bitcoins from command line - will pay reward (Read 1498 times)

newbie
Activity: 50
Merit: 0
Yes. Sending out the transaction using the raw API, instead of using the higher level commands.

If you don't put in enough fee or violate other "rules", your TX may not propagate right away and/or might get delayed in being confirmed.

bitcoind lets you set the fee but I recall it had limits how low you could set it.

Raw lets you do it to any level. Even zero, I guess.

bitcoind settxfee 0.0001
bitcoind sendtoaddress somebitcoinaddress 0.0001

That will very likely cause a fee of 0.0001 to be used, unless you have way too many, and only, dust.

wow is it that simple, just use 2 seperate commands ?
i tried to use it all in 1 command.

ill try it out asap Smiley

raw ?
member
Activity: 98
Merit: 10
nearly dead
I have the latest version of the bitcoin-client.

Anyone willing to help me out? i just dont have the time to figure it all out.

Will pay 0,25 btc reward.

Check your PM please.
sr. member
Activity: 300
Merit: 250
I have the latest version of the bitcoin-client.

Anyone willing to help me out? i just dont have the time to figure it all out.

Will pay 0,25 btc reward.
member
Activity: 126
Merit: 10
Does that come included with the latest version of the bitcoin-client or can i do that seperately ?
If you're on Windows, it installs by default to C:\Program Files (x86)\Bitcoin\daemon. You can run it from any directory, though, just copy it there.
member
Activity: 98
Merit: 10
nearly dead
Does that come included with the latest version of the bitcoin-client or can i do that seperately ?

Are you talking about bitcoin-qt ? Yes, bitcoind comes with it.
sr. member
Activity: 300
Merit: 250
Does that come included with the latest version of the bitcoin-client or can i do that seperately ?
member
Activity: 98
Merit: 10
nearly dead
Still no luck:

When i give the command:
"bitcoind settxfee 0.0001"

the computer give the message "true"

When i then give the command
"bitcoind sendtoaddress somebitcoinaddress 0.0001"

It send the 0.0001 btc but still with aq 0.0005 transaction fee.

Anyone got any ideas? 0.1 btc reward for the one that can help me out.

You are likely using an old version of the bitcoind, install the latest one and retry.
sr. member
Activity: 300
Merit: 250
Still no luck:

When i give the command:
"bitcoind settxfee 0.0001"

the computer give the message "true"

When i then give the command
"bitcoind sendtoaddress somebitcoinaddress 0.0001"

It send the 0.0001 btc but still with aq 0.0005 transaction fee.

Anyone got any ideas? 0.1 btc reward for the one that can help me out.
sr. member
Activity: 300
Merit: 250
bitcoind lets you set the fee but I recall it had limits how low you could set it.

Raw lets you do it to any level. Even zero, I guess.

bitcoind settxfee 0.0001
bitcoind sendtoaddress somebitcoinaddress 0.0001

That will very likely cause a fee of 0.0001 to be used, unless you have way too many, and only, dust.

wow is it that simple, just use 2 seperate commands ?
i tried to use it all in 1 command.

ill try it out asap Smiley

raw ?
newbie
Activity: 50
Merit: 0
bitcoind lets you set the fee but I recall it had limits how low you could set it.

Raw lets you do it to any level. Even zero, I guess.

bitcoind settxfee 0.0001
bitcoind sendtoaddress somebitcoinaddress 0.0001

That will very likely cause a fee of 0.0001 to be used, unless you have way too many, and only, dust.

wow is it that simple, just use 2 seperate commands ?
i tried to use it all in 1 command.

ill try it out asap Smiley
sr. member
Activity: 300
Merit: 250
bitcoind settxfee 0.0001
bitcoind sendtoaddress somebitcoinaddress 0.0001

That will very likely cause a fee of 0.0001 to be used, unless you have way too many, and only, dust.

wow is it that simple, just use 2 seperate commands ?
i tried to use it all in 1 command.

ill try it out asap Smiley
newbie
Activity: 50
Merit: 0
You can set the fee to anything you want, if you use raw transactions.

Basically, you construct the raw transaction (it is pretty easy) using createrawtransaction. That gives you some HEX string that you feed to signrawtransaction. You take the output from that and use sendrawtransaction.

The key thing to keep in mind is the unspent output(s) being used when you createrawtransaction. Say all these add up to 0.05 btc. And let's say you are sending out 0.04 btc. Then the fee is whatever is left, which in this case is 0.01 btc. BE CAREFUL and ensure that you provide a change address for any btc that you not want going into the fee by providing multiple recipient addresses (so say one for the receiver and then one for the change).

Make sense? You can send 0.04999999 btc and the fee will then be 0.0000000001 btc (in my example). Keep in mind that very low (or zero) fees can result in the transaction taking longer to a very long time to get included in a block.

Hi everyone

i am in need for a script with which i can send 0.0001 bitcoins from the command line with a 0.0001 transaction fee.
I used to do this with bitcoind but i cant get the transaction fee lower then 0.0005.

Is there anyone who can help me out ? / maybe write a script / code a little program that can be run in a command prompt in windows?
I am willing to pay a reward for you hard work Smiley

Greetings
Roland.
member
Activity: 98
Merit: 10
nearly dead
bitcoind settxfee 0.0001
bitcoind sendtoaddress somebitcoinaddress 0.0001

That will very likely cause a fee of 0.0001 to be used, unless you have way too many, and only, dust.
sr. member
Activity: 300
Merit: 250
Hi everyone

i am in need for a script with which i can send 0.0001 bitcoins from the command line with a 0.0001 transaction fee.
I used to do this with bitcoind but i cant get the transaction fee lower then 0.0005.

Is there anyone who can help me out ? / maybe write a script / code a little program that can be run in a command prompt in windows?
I am willing to pay a reward for you hard work Smiley

Greetings
Roland.
Jump to: