El_monty's avatar
El_monty
_@monty888.com
npub1t39l...0fey
Therefore, send not to know For whom the bell tolls, It tolls for thee. https://github.com/monty888 https://nostree.me/npub1t39l8e2gdq7kr7mjhe053skl7r84ryqmnhvca6xmz780u53wxf0swj0fey
El_monty's avatar
El_monty 1 year ago
Lol still over £200 in lighting channels my side but 0 to spend, guess that's those high base fees.
El_monty's avatar
El_monty 1 year ago
doing something dumb... Anyone any clue why the following python code isn't coming out to match the keys as NIP44 at from cryptography.hazmat.primitives.hashes import SHA256 from cryptography.hazmat.primitives.kdf.hkdf import HKDF import secp256k1 def get_conversion_key(priv_k:str, pub_k:str): the_priv: secp256k1.PrivateKey = secp256k1.PrivateKey(privkey=bytes.fromhex(priv_k)) print(f'using priv: {the_priv.private_key.hex()}') the_pub: secp256k1.PublicKey = secp256k1.PublicKey(pubkey=bytes.fromhex('02'+pub_k), raw=True) print(f'using pub_k: {the_pub.serialize().hex()}') tweaked_key: secp256k1.PublicKey = the_pub.tweak_mul(the_priv.private_key) print(f'tweaked {tweaked_key.serialize().hex()}') h = HKDF(algorithm=SHA256(), length=32, salt=b'nip44-v2', info=None) con_key = h.derive(key_material=tweaked_key.serialize()[1:]) print(f'conversion k: {con_key.hex()}') get_conversion_key(priv_k='315e59ff51cb9209768cf7da80791ddcaae56ac9775eb25b6dee1234bc5d2268', pub_k='c2f9d9948dc8c7c38321e4b85c8558872eafa0641cd269db76848a6073e69133')
El_monty's avatar
El_monty 1 year ago
Started trying to implement NIP44 in python, shouldn't be too tricky but like always I'm getting different key values generated to start with, obvs doing something stupid...
El_monty's avatar
El_monty 1 year ago
Let the hate flow flow though you Molly! Admittedly it's a shame that coinbase became a complete casino with a facade of legitimacy whereas it used to be a pretty safe place to recommend for new people. Anyone that was wiring cash to MtGox though should have known the risk, and anyone with a ounce of sense shouldn't have trusted FTX and Sam especially so the regulators and politicions (Looking at you Bill and Blair... Bet that was a nice paycheck!)
El_monty's avatar
El_monty 1 year ago
Just ordered this book Feel like it'd be good to get an understanding of hardware that I've always avoided. Interestingly in the comments I see this book makes an example of extracting the key from a trezor one (Though maybe this won't work any longer...) Also this site seems to be really useful too.
El_monty's avatar
El_monty 1 year ago
Off to watch Dune 2 on Imax later
El_monty's avatar
El_monty 1 year ago
Just looked at cointelegraph for the first time in years... Easy to see why people hate crypto.
El_monty's avatar
El_monty 1 year ago
Just tried to renew domain, they use coinbase commerce, yuk. You get the option to use coinbase account, nope or some weird thing they call self custody but still seems to involve downloading some shitty coinbase app. Just used debit card in the end.
El_monty's avatar
El_monty 1 year ago
Heading to Japan for a few weeks. Looks like BTC already at ATH against the yen 😃