Bitcoin Forum
May 22, 2024, 11:04:35 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Anybody share a scrypt/method for calculate R,S,Z of bitcoin raw transaction ?  (Read 372 times)
COBRAS (OP)
Member
**
Offline Offline

Activity: 861
Merit: 22

$$P2P BTC BRUTE.JOIN NOW ! https://uclck.me/SQPJk


View Profile
February 21, 2021, 12:30:21 PM
 #1

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 !!!

$$$ P2P NETWORK FOR BTC WALLET.DAT BRUTE F ORCE .JOIN NOW=GET MANY COINS NOW !!!
https://github.com/phrutis/LostWallet  https://t.me/+2niP9bQ8uu43MDg6
NotATether
Legendary
*
Offline Offline

Activity: 1610
Merit: 6753


bitcoincleanup.com / bitmixlist.org


View Profile WWW
February 21, 2021, 04:09:46 PM
 #2

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.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
COBRAS (OP)
Member
**
Offline Offline

Activity: 861
Merit: 22

$$P2P BTC BRUTE.JOIN NOW ! https://uclck.me/SQPJk


View Profile
February 21, 2021, 04:14:22 PM
 #3

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://bitcointalk.org/index.php?topic=1027221.msg56405486#msg56405486 there a Mamuu, calculate manualy, but 2xoin was unsuccessful !!!!!


$$$ P2P NETWORK FOR BTC WALLET.DAT BRUTE F ORCE .JOIN NOW=GET MANY COINS NOW !!!
https://github.com/phrutis/LostWallet  https://t.me/+2niP9bQ8uu43MDg6
dextronomous
Full Member
***
Offline Offline

Activity: 429
Merit: 105


View Profile
February 23, 2021, 11:55:11 PM
 #4

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.
math09183
Member
**
Offline Offline

Activity: 170
Merit: 58


View Profile
February 24, 2021, 07:22:56 PM
 #5

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
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!