Post
Topic
Board Project Development
Re: [ANN] pyspv 0.0.1-alpha - Python 3 Bitcoin SPV library
by
bertani
on 10/12/2014, 11:32:19 UTC
I can't do the same with the PrivateKey: passing both .secret_exponential() or .serialize() objects as PrivateKey secret doesn't return the expected values (a privkey' wif match). What the PrivateKey class is expecting as 'secret' ?  Huh

Code:
pyspv.keys.PrivateKey(secret_exp_as_long.to_bytes(32, "big"))