mmgen-wallet/test/modtest_d
The MMGen Project e322b4338c
Nostr key/address generation
Examples:

    # Generate 10 Nostr addresses from your default wallet:
    $ mmgen-addrgen --coin=nostr 1-10

    # Generate 10 Nostr key/address pairs from your default wallet:
    $ mmgen-keygen --coin=nostr 1-10

    # Generate a random Nostr key/address pair:
    $ mmgen-tool --coin=nostr randpair

    # Convert a Nostr address to a hexadecimal pubkey:
    $ mmgen-tool --coin=nostr addr2pubhex npub1r7m96hpfeegjcj8un2wjgkw4rwv36x9mtmtek5duv3uq29tcwqgq93nwkz

    # Convert a Nostr hexadecimal pubkey to an address:
    $ mmgen-tool --coin=nostr pubhex2addr 1fb65d5c29ce512c48fc9a9d2459d51b991d18bb5ed79b51bc64780515787010

Testing:

    $ test/modtest.py -v nostr
    $ test/cmdtest.py --coin=nostr ref3_addr
    $ test/tooltest2.py --coin=nostr
2026-06-04 10:41:42 +00:00
..
__init__.py various testing fixes 2025-09-09 11:27:05 +00:00
addrlist.py modtest.py, daemontest.py: remove prefixes from test files 2025-03-23 10:14:31 +00:00
addrparse.py modtest.py, daemontest.py: remove prefixes from test files 2025-03-23 10:14:31 +00:00
amt.py minor fixes and cleanups 2025-09-26 10:40:23 +00:00
baseconv.py whitespace, variable renames (8 files) 2025-09-26 10:40:23 +00:00
bip39.py modtest.py, daemontest.py: remove prefixes from test files 2025-03-23 10:14:31 +00:00
bip_hd.py BipHDNode.from_path(): determine addr type from protocol 2026-06-04 10:41:42 +00:00
cashaddr.py test.include.unit_test: improve altcoin test skipping code 2025-09-09 11:27:04 +00:00
dep.py enable use of pyaes package for testing 2026-05-21 12:09:33 +00:00
devtools.py test.include.unit_test: improve altcoin test skipping code 2025-09-09 11:27:04 +00:00
ecc.py modtest ecc: use ecdsa package for reference sig check 2025-07-19 10:21:06 +00:00
flags.py modtest.py, daemontest.py: remove prefixes from test files 2025-03-23 10:14:31 +00:00
gen.py modtest.py, daemontest.py: remove prefixes from test files 2025-03-23 10:14:31 +00:00
indexed_dict.py modtest.py, daemontest.py: remove prefixes from test files 2025-03-23 10:14:31 +00:00
lockable.py modtest.py, daemontest.py: remove prefixes from test files 2025-03-23 10:14:31 +00:00
misc.py modtest.py, daemontest.py: remove prefixes from test files 2025-03-23 10:14:31 +00:00
mn_entry.py test suite: use match statement where practicable (21 files) 2025-09-23 09:20:53 +00:00
nostr.py Nostr key/address generation 2026-06-04 10:41:42 +00:00
obj.py modtest.py, daemontest.py: remove prefixes from test files 2025-03-23 10:14:31 +00:00
rune.py whitespace, minor cleanups (5 files) 2025-10-03 10:34:04 +00:00
scrypt.py modtest.py, daemontest.py: remove prefixes from test files 2025-03-23 10:14:31 +00:00
seedsplit.py modtest.py seedsplit, subseed: refactor 2025-09-26 10:40:23 +00:00
subseed.py modtest.py seedsplit, subseed: refactor 2025-09-26 10:40:23 +00:00
swap.py SwapAsset: remove asset property 2025-06-15 09:17:02 +00:00
testdep.py minor testing fixes 2026-05-17 18:03:37 +00:00
tx.py minor fixes and cleanups 2025-10-26 10:35:54 +00:00
util.py modtest.py, daemontest.py: remove prefixes from test files 2025-03-23 10:14:31 +00:00
xmrseed.py test.include.unit_test: improve altcoin test skipping code 2025-09-09 11:27:04 +00:00