Commit graph

2,762 commits

Author SHA1 Message Date
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
9a9627c8ed
mmgen-tool addr2pubhash: refactor 2026-06-04 10:41:42 +00:00
7e5f43941a
compatibility fix for Python < v3.13 2026-06-04 10:41:42 +00:00
8867e747af
CoinProtocol.Base: add default coin_amt attr 2026-06-04 10:41:42 +00:00
f20db2f74d
CmdTestRef3Addr: cleanups 2026-06-04 10:41:42 +00:00
eb943dded7
BipHDNode.from_path(): determine addr type from protocol 2026-06-04 10:41:42 +00:00
6f84ad7323
WifKey, PrivKey: add key length checks 2026-06-04 10:41:42 +00:00
bf08297ff7
proto.btc.params.decode_wif(): rewrite 2026-06-04 10:41:42 +00:00
0c8794ad35
whitespace, variable rename 2026-06-04 10:41:37 +00:00
191e8ec26b
update PGP signing keys 2026-05-23 13:32:37 +00:00
d63dd743f5
update README, documentation (minor) 2026-05-23 13:32:31 +00:00
8488755790
CoinAmt: Python 3.15 fix 2026-05-21 12:09:33 +00:00
b29b8b4b9c
cmdtest.py: new --dev-mode option 2026-05-21 12:09:33 +00:00
77a42a1df9
tool rand2file: use os.process_cpu_count() to set thread count 2026-05-21 12:09:33 +00:00
c4feeccb66
enable use of pyaes package for testing 2026-05-21 12:09:33 +00:00
75ced150ba
cfg: sort env vars 2026-05-21 12:09:33 +00:00
3d8e98f31e
crypto.Crypto: new encrypt_aes_ctr() method 2026-05-21 12:09:33 +00:00
b13acfa3b1
wallet.mmgen: increase salt length to 32 bytes 2026-05-21 12:09:33 +00:00
7ca2449306
cmdtest.py input: disable some tests for free-threaded Python builds 2026-05-21 12:09:32 +00:00
86ac4e8418
new threaded_python cfg var 2026-05-21 12:09:32 +00:00
2b1fbfa0fc
cmdtest.py: new skip_on_condition() method 2026-05-21 12:09:32 +00:00
efe3cd2261
update secp256k1 extmod for free-threaded Python builds 2026-05-21 12:09:27 +00:00
6195b3b4c6
Version 16.1.0 v16.1.0 stable_msys2 stable_macos stable_linux 2026-05-18 09:31:56 +00:00
b0b738b5d2
update README, wiki documentation (minor) 2026-05-18 09:28:51 +00:00
3b1f07199e
update command help footers for v16.1.0 2026-05-18 09:28:51 +00:00
866846a200
autosign: wait loop message fix 2026-05-18 09:28:44 +00:00
170a0a892a
update documentation 2026-05-17 18:03:37 +00:00
e092f44ace
minor testing fixes 2026-05-17 18:03:37 +00:00
e2ea3b5d26
main_tool: disable aiohttp backend for arm64 2026-05-17 18:03:37 +00:00
2356abd1b4
tool_cmd.find_incog_data(): use itertools.count() in loop 2026-05-17 18:03:37 +00:00
5a83a716e7
daemontest.py exec: cleanups 2026-05-17 18:03:36 +00:00
eea9195f49
update coin daemon support (XMR, LTC, Geth)
- Monero         v0.18.5.0
- Litecoin Core  v0.21.5.5
- Go-Ethereum    v1.17.4
2026-05-17 18:03:36 +00:00
e982f7003a
new machine global constant 2026-05-17 18:03:36 +00:00
ab41b78863
new platform global constant 2026-05-17 18:03:32 +00:00
f8e12ec6c7
update nix build for Bitcoin Cash Node v29.0.0 2026-05-15 14:02:28 +00:00
2d1a626a7d
update documentation from wiki 2026-05-15 14:02:04 +00:00
765f245042
enable --scroll option for XMR, tool command 2026-05-15 13:42:49 +00:00
6a402f4000
support Reth v2.2.0 2026-05-15 13:42:49 +00:00
762940deca
autosign: minor cleanups 2026-05-15 13:42:44 +00:00
79ca80e8f2
autosign: re-enable file cleaning for non-XMR setup (bugfix) 2026-05-08 13:34:30 +00:00
64f9b26a2a
autosign: delay a few imports 2026-05-08 13:34:30 +00:00
ce40c500e1
new modules: autosign.signable, autosign.swap_mgr 2026-05-08 13:34:30 +00:00
b99ef94b60
autosign.py -> autosign/__init__.py 2026-05-08 13:34:25 +00:00
b3bdc76eb7
doc/wiki: update mmgen-autosign command help 2026-05-07 17:52:59 +00:00
7e093fbef8
mmgen-autosign: expand and revise help notes, add examples 2026-05-07 17:52:59 +00:00
c69f7e52d3
mmgen-autosign: forbid use of --xmrwallets in non-setup context 2026-05-07 17:52:59 +00:00
47b2a2e338
mmgen-autosign: move help notes to separate module 2026-05-07 17:52:59 +00:00
91e10be951
autosign: minor fixes and cleanups 2026-05-07 17:52:59 +00:00
9e40e6c8c9
autosign: skip dfl wallet prompt if --seed-len or --mnemonic-fmt specified 2026-05-07 17:52:59 +00:00
f9e2afc6e0
autosign: add test_led, list_led operations 2026-05-07 17:52:59 +00:00