Can I import a 256 bit private key in a Wallet (binary format)? Or do I have to convert it in another format?
Asked
Active
Viewed 341 times
0
-
It all depends on the wallet, sometimes it's not possible to directly import a private key, sometimes it uses some specific format (for example WIF for Bitcoin Core). I think you should be more specific or really we can't help much. – Sosthène Sep 29 '20 at 16:08
2 Answers
1
dumpprivkey
in bitcoin core returns private key in WIF
importprivkey
adds a private key (as returned by dumpprivkey) to your wallet.
Private key to WIF: https://bitcoin.stackexchange.com/a/99101/
1
Most wallets (and by that, I mean almost all) will not accept a binary 256 bit private key, you will have to convert your 1's and 0's to a WIF format.
There are libraries in python and javascript (and I'm sure other languages too) available that can do this function conversion for you.

m1xolyd1an
- 5,636
- 2
- 14
- 30