vbuterin / pybitcointools

SImple, common-sense Bitcoin-themed Python ECC library
1.28k stars 857 forks source link

how to use new send function #16

Open reynoldxu opened 10 years ago

reynoldxu commented 10 years ago

I noticed that there's a new function "send",but i'm confused about it :

%Takes privkey, address, value (satoshis), fee (satoshis) mksend(to+':'+str(value),privtoaddr(to),fee) is send need priv key of the address i'll pay?

i replace privtoaddr(to) with address but the osum is wrong.

can you give some example how to use "send"?

Thanks

arhuaco commented 9 years ago

Hello. Is this function broken? I think that the parameter "to" needs to be a private key. I supply a private key there and it works. What am I missing? Thanks.