Does anyone know what is this BECH32M_CONST = 0x2bc830a3

It is regarding the calculation of nostr publickeys from a private key....

Somehow i dont get it fully....

Nostr BECH32 implementaiton in python:

https://github.com/jeffthibault/python-nostr/blob/main/nostr/bech32.py

Bitcoin bech32 implementation in python:

https://github.com/fortesp/bitcoinaddress/blob/master/bitcoinaddress/segwit_addr.py

I try to adapt the bitcoin bech32 python script that it can generate nostr public keys (yes i know all say just use the current nostr pythonscript implementation, but i would like to understand what are the differences to bitcoin bech32 addresses)

Reply to this note

Please Login to reply.

Discussion

No replies yet.