1 year ago

#357690

test-img

jennie788

python ecdsa V,R,S example

In python, I know how to create a signature for a transaction using fastecdsa.

signature = ecdsa.sign(encoded_transaction, private_key, curve.secp256k1, ecdsa.sha256)

The code above gives me R (x) and S (y) values.

How can I obtain the V value (like with Ethereum signatures)? And how can I then verify the signature using the V value?

FYI, I'm creating my own blockchain network.

Thanks

python

blockchain

ethereum

digital-signature

ecdsa

0 Answers

Your Answer

Accepted video resources