Commit Graph

5 Commits

Author SHA1 Message Date
callebtc
01d498309b [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
2023-07-02 01:56:05 +02:00
callebtc
d1b66c5931 mypy 2022-10-03 21:56:26 +02:00
callebtc
5044315b0b script errors 2022-10-03 00:39:03 +02:00
callebtc
af54161cb3 isort 2022-10-02 19:27:14 +02:00
callebtc
a6e655e80a script 2022-10-02 12:11:37 +02:00