I hereby claim:
- I am luisschwab on github.
- I am luisschwab (https://keybase.io/luisschwab) on keybase.
- I have a public key whose fingerprint is 5B80 DDCD 9A41 2144 5B92 DC3B FC43 D25B EDD5 EE7C
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| ''' | |
| A simple example illustrating | |
| message signing and signature | |
| verification using secp256k1 | |
| ''' | |
| import coincurve | |
| import hashlib | |
| # order of the finite field in secp256k1 |
| #!/usr/bin/python3 | |
| ''' | |
| this script takes in an PSBT and adds an | |
| OP_RETURN output (OP_RETURN OP_PUSHDATA1 <len(message)> <message>) | |
| with the chosen message payload | |
| usage: | |
| interactive: | |
| ./op-return-builder.py |
| #!/usr/bin/python3 | |
| ''' | |
| usage: | |
| trusted: | |
| ./nostr-keygen.py (will generate a private key) | |
| trustless: | |
| ./nostr-keygen.py <32 byte hex privkey> (will derive the pubkey) | |
| ./nostr-keygen.py "$(openssl rand -hex 32)" |