Comments (3)
You're absolutely right, thanks for pointing it out.
The option was added to the --help output like you say, but I didn't get round to implementing it in a way I liked.
I wanted to restructure the code to remove the mess of special cases to handle every possible conversion.
I've now done that with commit 5dd84f4 which the command line you posted should work fine in:
./bitcoin-tool --input-type public-key-rmd \ --input-format hex \ --input 62E907B15CBF27D5425399EBF6F0FB50EBB88F18 \ --output-type address \ --output-format base58check 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa
The reverse operation also seems to work :
./bitcoin-tool --input-type address \ --input-format base58check \ --input 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa \ --output-type public-key-rmd \ --output-format hex 62e907b15cbf27d5425399ebf6f0fb50ebb88f18
from bitcoin-tool.
As a warning: with this version, I've changed the meaning of the private-key
input/output type to mean a raw key, and added a private-key-wif
input/output type to explicitly mean a WIF private key, specifying the corresponding public key compression type.
from bitcoin-tool.
Awesome majta! Thank you so much!
Tommy.
On 11 Dec 2013, at 11:01 am, matja [email protected] wrote:
As a warning: with this version, I've changed the meaning of the private-key input/output type to mean a raw key, and added a private-key-wif input/output type to explicitly mean a WIF private key, specifying the corresponding public key compression type.
—
Reply to this email directly or view it on GitHub.
from bitcoin-tool.
Related Issues (20)
- Just can't uncompress public key HOT 1
- Input file cannot be read HOT 3
- bech32 HOT 3
- Bech32 possible for uncompressed key HOT 1
- --output-type all results in 5 errors HOT 2
- prvkey to pubkey HOT 6
- Is it possible to adapt bitcoin-tool for GPU computing? HOT 2
- Address to privekey HOT 3
- Tools is exist HOT 1
- I can't run it using Cygwin on Windows 7 HOT 9
- Is it possible to output to a file?
- compressed pubkey to uncompressed pubkey supported ?
- address to public-key-rmd HOT 7
- Private key too short HOT 2
- --batch: command not found HOT 32
- bech32 (SegWit) long address HOT 1
- Support for hybrid public keys
- bitcoin publickey finder
- Is this library still being actively developed/supported?
- Mining HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bitcoin-tool.