Closed BlinkyStitt closed 10 years ago
I've written the code, but in the process of testing it I've discovered that blockchain.info doesn't support compressed keys. That's unfortunate, because blockchain.info is really the best way to import a paper key. I may check the code in on a branch, and hopefully merge it later.
Bryan, would you like to look over the code in the 'compressed' branch? Thanks!
FYI, I've scanned the last 2000 blocks, counting key types. They're running neck and neck, about 832,830 compressed pubkeys and 825,859 uncompressed. blockchain.info needs to get their act together.
Working great for me so far. All the keys have imported to electrum without issue. Thanks for this!
https://github.com/jgarzik/python-bitcoinlib/blob/master/bitcoin/key.py has support for both compressed and uncompressed keys. These have been the default in the Satoshi client since 0.6 and help keep the blockchain smaller.