http://mmgen-wallet.i2p/project/mmgen/mmgen-wallet/src/master/mmgen/key.py
The numeric validity of the resulting key is always checked. """ color = 'red' width = 32 trunc_ok = False compressed = ImmutableAttr(bool, typeconv=False) wif = ImmutableAttr(WifKey, typeconv=False) # initialize with (priv_bin, compressed), WIF or self def __new__(cls, proto, s=None, *, compressed=None, wif=None, pubkey_type=None): if isinstance(s, cls): return s if wif: try: assert s is None, "'wif' and key hex args are mutually exclusive" assert wif.isascii()...