iancoleman / bip39

A web tool for converting BIP39 mnemonic codes
https://iancoleman.io/bip39/
MIT License
3.57k stars 1.45k forks source link

Python Integration #292

Closed da-tai closed 5 years ago

da-tai commented 5 years ago

Is there anyway I can integrate some of these commands and outputs into python? Would love a way to have it generate Eth or BTC addresses within python code.

iancoleman commented 5 years ago

I'm sure there are python libraries for BIP39 / BIP32 / BIP44 / BIP49 / BIP84 etc but am not familiar with the current state of that particular ecosystem myself.

The main challenge will probably be creating a useful UI.

For now this isn't something I'm going to pursue, although I do think a local command-line version of this tool would be great (I'd probably write it in go for the simplest cross-platform distribution).

hatgit commented 5 years ago

In case it helps, here is one I built from scratch and recently improved but it only generates entropy (in addition to manually pasted entropy) and the resulting bip-39 compliant mnemonic (which could then be pasted in to the BIP39 tool in this repo for address/wallet creation and access) as it otherwise lacks all the cool bells and whistles present in Ian's version: https://github.com/hatgit/BIP39_mnemonic_creation_light_python/blob/master/bip39appv1_8.py

da-tai commented 5 years ago

Thank you sir