Author

Topic: <deleted> (Read 1023 times)

vip
Activity: 1386
Merit: 1140
The Casascius 1oz 10BTC Silver Round (w/ Gold B)
June 12, 2012, 05:03:42 PM
#4
Bitcoin transactions do not have a well-defined "from" address. Each transaction can have several inputs, each of which has potentially an identifiable address it was previously sent to. Those addresses may or may not be under control of the sender of the funds.

If you need to do refunds, ask people for a refund address.

If you need to identify individual payments, give a different (unique) receive address for each.

If using any normal client, and the payment is not multisig and not coming from a website like MtGox, any and all of those inputs are addresses controlled by the sender.  They must be, otherwise the sender would not have been able to issue the transaction.  Can anyone provide a counter-example?
legendary
Activity: 2506
Merit: 1010
June 12, 2012, 04:46:13 PM
#3
Any help how I can do this, without using an external service like blockexplorer?

Lots of interest in doing this exact same thing.  There's going to be a lot of SatoshiDICE copycats, I suspect:

Related:
 - http://bitcoin.stackexchange.com/questions/3896
legendary
Activity: 1072
Merit: 1181
June 12, 2012, 10:58:29 AM
#2
Bitcoin transactions do not have a well-defined "from" address. Each transaction can have several inputs, each of which has potentially an identifiable address it was previously sent to. Those addresses may or may not be under control of the sender of the funds.

If you need to do refunds, ask people for a refund address.

If you need to identify individual payments, give a different (unique) receive address for each.
newbie
Activity: 7
Merit: 0
June 12, 2012, 06:21:44 AM
#1
Jump to: