Hot answers tagged

1

If I get your code and use "e41b45e722251672c01a28e4fada590471fea09f90d13b143033ed3a1107ef49" as secret hex value AKA secret private key... then I get result: "12sF1DbBbPaoNYrs28Qm7waiCcAVoF93Nn" which is uncompressed public address. Check my script, it is more extended, but with a copule of imports for an educational point of view, to ...


1

Yes, I'd say the simplest way is to use python bip39 implementation of trezor, this one file should be enough with methods: to_seed - to convert list of the words into seed and to_hd_master_key - to generate master xpub/xpriv It doesn't support further derivations (which require a bit more dependencies), for which I'd suggest using bip32 library.


1

Indeed to use bitcoinrpc, you need to set the username and password in bitcoin.conf by: rpcauth=user:salt$hash of password which you can generate using https://github.com/bitcoin/bitcoin/blob/master/share/rpcauth/rpcauth.py. Simply shutdown bitcoind, add this to bitcoin.conf, restart, and you'll immediately be able to run commands in python like print(...


Only top voted, non community-wiki answers of a minimum length are eligible