mmgen-wallet/test
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
..
cmdtest_d Nostr key/address generation 2026-06-04 10:41:42 +00:00
daemontest_d daemontest.py exec: cleanups 2026-05-17 18:03:36 +00:00
include new machine global constant 2026-05-17 18:03:36 +00:00
misc new platform global constant 2026-05-17 18:03:32 +00:00
modtest_d Nostr key/address generation 2026-06-04 10:41:42 +00:00
objattrtest_d update copyright dates 2026-02-11 13:02:12 +00:00
objtest_d update copyright dates 2026-02-11 13:02:12 +00:00
overlay autosign.py -> autosign/__init__.py 2026-05-08 13:34:25 +00:00
ref wallet.mmgen: increase salt length to 32 bytes 2026-05-21 12:09:33 +00:00
test-release.d Nostr key/address generation 2026-06-04 10:41:42 +00:00
tooltest2_d Nostr key/address generation 2026-06-04 10:41:42 +00:00
__init__.py test/test.py: refactor, remove interactive mode 2017-08-03 08:56:40 +03:00
altcointest.py update copyright dates 2026-02-11 13:02:12 +00:00
clean.py update copyright dates 2026-02-11 13:02:12 +00:00
cmdtest.py cmdtest.py: new --dev-mode option 2026-05-21 12:09:33 +00:00
colortest.py update copyright dates 2026-02-11 13:02:12 +00:00
daemontest.py unit_tests.py -> modtest.py, daemontest.py 2024-10-18 10:43:27 +00:00
gentest.py update copyright dates 2026-02-11 13:02:12 +00:00
hashfunc.py update copyright dates 2026-02-11 13:02:12 +00:00
modtest.py unit_tests.py -> modtest.py, daemontest.py 2024-10-18 10:43:27 +00:00
objattrtest.py update copyright dates 2026-02-11 13:02:12 +00:00
objtest.py update copyright dates 2026-02-11 13:02:12 +00:00
scrambletest.py new platform global constant 2026-05-17 18:03:32 +00:00
start-coin-daemons.py launch test and helper scripts with main.launch() 2023-12-12 10:19:51 +00:00
stop-coin-daemons.py launch test and helper scripts with main.launch() 2023-12-12 10:19:51 +00:00
test-release.sh update copyright dates 2026-02-11 13:02:12 +00:00
tooltest.py new platform global constant 2026-05-17 18:03:32 +00:00
tooltest2.py new platform global constant 2026-05-17 18:03:32 +00:00