Author

Topic: Anybody share a scrypt/method for calculate R,S,Z of bitcoin raw transaction ? (Read 400 times)

brand new
Activity: 0
Merit: 0
You should begin writing your essays with the finest quality possible and after conducting extensive research. Experts are on hand to assist you with your Do my essay needs.
You can enlist the support of academic experts and Buy Essay from them to save time and effort. The essays are exceptionally well-written and of remarkable quality.
You can also hire an Essay Writer to assist you, who will give you with high-quality essays while reducing your workload.
If you want to finish your project fast and easily, you can acquire Do My Homework from academic experts and complete your homework before the deadline.
By obtaining Assignment Writing Help from experts and pros, you may complete your assignments on time and earn high grades.
You may simply make a great impression on your professor by presenting high-quality papers by purchasing Essay Writing from academic specialists.
member
Activity: 170
Merit: 58
Can you help with scrypt for calculatiing R,S,Z of btc raw transaction ? I was try many methods but usuccesful

for me ((


I'm use https://2xoin.com/getRSZfromRawTX/ not worked for me (((

Thx !!!


https://github.com/stateactor/Bitcoin-Key-Compression-Tool
full member
Activity: 431
Merit: 105
Who's site, Sean Bradley it says,
are you also user here, if so, reading this, could you add some extra function
at this website, 2xoin ? thanks a lot. Love that site, since 2coin left, this one is usefull for me thanks a lot
for making it.
member
Activity: 873
Merit: 22
$$P2P BTC BRUTE.JOIN NOW ! https://uclck.me/SQPJk
As I told you in the other thread, 2xoin's tool is correct. But if you want to construct the r, s and z values by yourself, there is a helpful guide in the linked thread at http://www.righto.com/2014/02/bitcoins-hard-way-using-raw-bitcoin.html?m=1 . All you have to do is extract the scriptSig for each input of the raw transaction (your life is made easier by converting the raw transaction to JSON first).



The scriptSig is a DER signature as you can see, and it has a particular format. In this case, sequence (which we don't need), integer and integer. The last two are the r and s values (the picture calls them x and y), but first you have to "pop" the sequence number out of the DER using e.g ecdsa.der.remove_sequence(input) in Python. Then you pop r and s using two ecdsa.der.remove_integer calls, and this'll give you r and s as base10 numbers.

Then the z value is just a double SHA256 of the transaction bytes after performing a little cosmetic surgery on it to add some bytes and substitute in a Ripemd160 hash (see this code for details).

Obviously then you convert them to hex to match what the SAGE and Python scripts and 2xoin's tool are displaying.


But if you want something quick and dirty (and you probably do), use the 2xoin page or https://github.com/stateactor/Bitcoin-Key-Compression-Tool . Be warned that the latter was coded to only get r s z for the first input of a raw transaction.

Hi, Bro, see this message - https://bitcointalksearch.org/topic/m.56405486 there a Mamuu, calculate manualy, but 2xoin was unsuccessful !!!!!

legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
As I told you in the other thread, 2xoin's tool is correct. But if you want to construct the r, s and z values by yourself, there is a helpful guide in the linked thread at http://www.righto.com/2014/02/bitcoins-hard-way-using-raw-bitcoin.html?m=1 . All you have to do is extract the scriptSig for each input of the raw transaction (your life is made easier by converting the raw transaction to JSON first).



The scriptSig is a DER signature as you can see, and it has a particular format. In this case, sequence (which we don't need), integer and integer. The last two are the r and s values (the picture calls them x and y), but first you have to "pop" the sequence number out of the DER using e.g ecdsa.der.remove_sequence(input) in Python. Then you pop r and s using two ecdsa.der.remove_integer calls, and this'll give you r and s as base10 numbers.

Then the z value is just a double SHA256 of the transaction bytes after performing a little cosmetic surgery on it to add some bytes and substitute in a Ripemd160 hash (see this code for details).

Obviously then you convert them to hex to match what the SAGE and Python scripts and 2xoin's tool are displaying.


But if you want something quick and dirty (and you probably do), use the 2xoin page or https://github.com/stateactor/Bitcoin-Key-Compression-Tool . Be warned that the latter was coded to only get r s z for the first input of a raw transaction.
member
Activity: 873
Merit: 22
$$P2P BTC BRUTE.JOIN NOW ! https://uclck.me/SQPJk
Can you help with scrypt for calculatiing R,S,Z of btc raw transaction ? I was try many methods but usuccesful

for me ((


I'm use https://2xoin.com/getRSZfromRawTX/ not worked for me (((

Thx !!!
Jump to: