Giter VIP home page Giter VIP logo

Comments (8)

Coding-Enthusiast avatar Coding-Enthusiast commented on June 19, 2024

As far as I know the recovery phrases are encoded as base-16 but with different characters than the regular base-16 encoding aka hexadecimal. It is called "Typing-friendly Base16". In this encoding the asdfghjkwertuion charset is used instead of 0123456789abcdef.
https://github.com/etotheipi/BitcoinArmory/blob/2a6fc5355bb0c6fe26e387ccba30a5baafe8cd98/armoryengine/ArmoryUtils.py#L2151-L2162

from finderouter.

MonkishMan avatar MonkishMan commented on June 19, 2024

I have a root key which has characters that are outside the typing friendly set. I can only presume that the armory software has changed over time and that the typing friendly base 16 set is a new feature for new type of keys, but the armory software itself still accepts and validates a different set for recovery.

from finderouter.

Coding-Enthusiast avatar Coding-Enthusiast commented on June 19, 2024

If you could show me the alternative encoding algorithms on the source code and give me an example/test case I may be able to implement them too.

from finderouter.

MonkishMan avatar MonkishMan commented on June 19, 2024

OK I will try get you some info. Thanks

from finderouter.

MonkishMan avatar MonkishMan commented on June 19, 2024

Is the type friendly code not just for the qr code generation? The comment above the code in github you linked to only mentions qr codes.

from finderouter.

MonkishMan avatar MonkishMan commented on June 19, 2024

Also ethopi abandoned the armory project some years ago, it's now built from a fork by goatpig as far as I understand.
https://github.com/goatpig/BitcoinArmory

from finderouter.

Coding-Enthusiast avatar Coding-Enthusiast commented on June 19, 2024

Is the type friendly code not just for the qr code generation?

No, it is used for recovery phrases mainly.

Also ethopi abandoned the armory project some years ago, it's now built from a fork by goatpig as far as I understand. https://github.com/goatpig/BitcoinArmory

Yes. But GitHub doesn't have the option to search inside forked repositories so it was easier to do it in the parent repository. Things regarding encoding doesn't seem to have changed: https://github.com/goatpig/BitcoinArmory/blob/master/armoryengine/ArmoryUtils.py#L2246

from finderouter.

MonkishMan avatar MonkishMan commented on June 19, 2024

Thanks for the info, I will try look at the code when I get the chance and try understand how the encoding works for wallet recovery. I really appreciate your insights. Thank you.

from finderouter.

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.