http://mmgen-wallet.i2p/project/mmgen/mmgen-wallet/src/master/mmgen/bip_hd/chainparams.py
r}: invalid line') out = {} for line in _data_in.strip().splitlines(): if not line or line.startswith('IDX'): continue if line.startswith('['): key = line[1:-1] continue p = parse_line(line) match key: case k if k in out: out[key][p[1]] = p case 'defaults': out['defaults'] = p defaults = p case _: out[key] = {p[1]: p} return out # RUNE derivation is SLIP-10, not BIP-44, but we treat them as equivalent _data_in = """ [defaults] IDX CHAIN CURVE NW ADDR_CLS VB_PRV VB_PUB VB_WIF VB_ADDR ...