Author

Topic: Help! how to send a specific address to others? (Read 924 times)

newbie
Activity: 22
Merit: 0
October 08, 2016, 10:12:32 PM
#5
Thank you for a comment!

Code:
createrawtransaction => signrawtransaction => sendrawtransaction

I understand ,thank you!
staff
Activity: 3374
Merit: 6530
Just writing some code
Should I touch bitcoind scrypt? But I don't know C. Huh
Bitcoin scripts are not C or C++. They are an entirely different language specifically for Bitcoin scripts.

Now I try to generate row transaction, but I don't understand TXid generation.
I TryTrytrytry.....
The txid is generated from the transaction. You create the transaction and then hash it in order to get the txid.

With bitcoind, you can use the createrawtransaction rpc to create the raw transaction. Read the help for that command and it explains everything. Then you must sign that transaction using the signrawtransaction rpc and then you can send it with sendrawtransaction.
newbie
Activity: 22
Merit: 0
Thank you for a comment!

Quote
....you can check each output and to find the scripts....

Should I touch bitcoind scrypt? But I don't know C. Huh

Now I try to generate row transaction, but I don't understand TXid generation.
I TryTrytrytry.....
legendary
Activity: 3416
Merit: 4658
I want to send btc from a specific btcaddress to others. Smiley

It is not possible to spend bitcoins from addresses.  The transaction must specify the specific outputs that are being spent.

Now, since you know the outputs scripts of the unspent outputs that are available for you to spend, you can check each output and to find the scripts that are associated with the address you are interested in.  Then just choose those particular outputs to spend in your transaction.
newbie
Activity: 22
Merit: 0
I want to send btc from a specific btcaddress to others. Smiley
I use bitcoind with Debian CUI.

i use php and want to apply altcoins,please show me good ways.


I read links
http://stackoverflow.com/questions/22837830/bitcoind-daemon-and-createrawtransaction-params
https://bitcointalksearch.org/topic/what-is-the-format-for-createrawtransaction-parameters-using-jsonrpcclientphp-133769
Jump to: