4 ms·
It's about 200 lines of Python code to implement a Bitcoin HD (Hierarchical Deterministic) wallet using just the standard library and old-style addresses. This
by 323 4y ago
It's about 200 lines of Python code to implement a Bitcoin HD (Hierarchical Deterministic) wallet using just the standard library and old-style addresses.
This will give you a 256-bit integer as the private key. You can process this further with whatever additional method you want (Shamir Secret Sharing, ...).
Obviously not for everybody, but the underlying cryptography is pretty simple.
- lottin 4y agoThis method doesn't eliminate counter-party risk does it? You'd need to use open-source hardware, write your own C compiler in assembler, then write a Python interpreter, along with the standard library and cryptographic functions, and finally the actual wallet, while making sure your code isn't compromised during the entire process. I forgot the OS, which also needs to be written from scratch.
- 323 4y agoNobody wrote their own C compiler, OS, for bitcoin, yet no such wide-spread attacks happened. BTW, this logic also applies to everything else - all websites in the world are hackable if the website owner doesn't write their own compilers, OSes, ...