MultiversX Tracker is Live!

How to make a custom private key [in python] and import it in a Bitcoin wallet?

Bitcoin Reddit

More / Bitcoin Reddit 139 Views

I am working on this Python script that makes a Bitcoin address from a custom private key (123456789, is what I am using to test it).

print(pubtoaddr(privtopub(sha256("123456789"))))

This is returning the address: 1C9a5a1xz7RtAbfTvUQRnmWqQ9cayFDSiL

How do I import this private key into a wallet like Bitcoin Core, Electrum etc? I have tried entering in 123456789 as a passphrase and the sha256 hash of it: 15e2b0d3c33891ebb0f1ef609ec419420c20e320ce94c65fbc8c3312448eb225 but there are so many wallet type options and passphrase types; I don't know which ones to choose.

submitted by /u/theblockchaindev
[link] [comments]
Get BONUS $200 for FREE!

You can get bonuses upto $100 FREE BONUS when you:
πŸ’° Install these recommended apps:
πŸ’² SocialGood - 100% Crypto Back on Everyday Shopping
πŸ’² xPortal - The DeFi For The Next Billion
πŸ’² CryptoTab Browser - Lightweight, fast, and ready to mine!
πŸ’° Register on these recommended exchanges:
🟑 Binance🟑 Bitfinex🟑 Bitmart🟑 Bittrex🟑 Bitget
🟑 CoinEx🟑 Crypto.com🟑 Gate.io🟑 Huobi🟑 Kucoin.



Comments