I’m following a topic that interests me and I’ve been trying for a few days, but I can’t do it!
We know that it’s easy to get from a P2PKH transaction, there are various tools that can do it and that work.
However, I’m trying to get the R, S and Z values from a SegWit transaction, but I can’t do it.
Several Python scripts didn’t get me to my goal and I wanted to ask if anyone here has a solution to get the R, S and Z values from SegWit transactions!
Edit: 2025/02/18
I have to add the following, because I think that something is wrong with my transactions and that no random numbers (k = Nounce) are being created, but the same R value is being used in several transactions, which means that you can calculate the private key using R,S,Z!
Now I want to check my transactions, they are my transactions that I have carried out over the last three years!
I just want to be sure that my assumption that R is being used twice is incorrect!
Is it true that with SegWit transactions you “only” need the values R,S to calculate the private key?
I already understand how I get R,S!












