mirror of
https://github.com/aljazceru/nutshell.git
synced 2026-02-23 09:34:22 +01:00
[Wallet/mint] P2PK with timelocks (#270)
* p2pk with nostr privatekey and timelocks * add p2pk * fix test * fix test with custom secret * sign whole split transaction * p2pk signature now commits to entire secret and thus to a nonce * use schnorr signatures * revamp P2SH and P2PK with new Secret model * test p2pk * add comments * add nostr private key to tests * fix nostr receive * make format * test redemption after timelock * refactor Server.serialize() * sign sha256(secret) * add optional refund pubkey that triggers after timelock * use nostr private key for now (including nsec parser) * use nostr private key and fix tests * bump version to 0.12.2
This commit is contained in:
@@ -17,7 +17,7 @@ TOR=TRUE
|
||||
|
||||
# NOSTR
|
||||
# nostr private key to which to receive tokens to
|
||||
NOSTR_PRIVATE_KEY=nostr_privatekey_here_hex_or_bech32
|
||||
NOSTR_PRIVATE_KEY=nostr_privatekey_here_hex_or_bech32_nsec
|
||||
# nostr relays (comma separated list)
|
||||
NOSTR_RELAYS=["wss://nostr-pub.wellorder.net"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user