Code Monkey home page Code Monkey logo

Comments (3)

matja avatar matja commented on August 15, 2024

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.

matja avatar matja commented on August 15, 2024

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.

tommybear avatar tommybear commented on August 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.