Commit Graph

66 Commits

Author SHA1 Message Date
calle
89fb2787e6 Python/relative_import (#186)
* relative import all the things

* make format

* add __init__.py to cli/

* fix mypy errors

* get rid of more mypy

* mypy fix crud.py

* fix another mypy error
2023-05-01 22:39:23 +02:00
Sebastian Falbesoner
28812919ac fix double "or" typo in burn parameter validation error message (#172) 2023-04-23 13:57:08 +02:00
calle
8f2a0d6c72 cleanup and comments (#163) 2023-04-16 15:51:22 +02:00
calle
2ded9c8b5c use tokenObj in burn (#156)
* use tokenObj in burn

* refactor token serialization

* add tests

* rename
2023-04-01 00:46:56 +02:00
sihamon
73f8c277b9 Fix: TypeError in burn token (#152)
* Fix: TypeError in burn token

* Make format
2023-03-31 23:42:51 +02:00
calle
db27105d17 TokenV3 and new Mint startup in tests (#149)
* tokenv3 send and receive
* receive v2 and v1 tokens with tests
2023-03-28 22:35:22 +02:00
dyKiU
3952979a56 CLI: error handling invalid nostr client key (#144)
* improve error handling, catch and handle exception around nostr client creation

* add makefile

* apply formatting as per PR feedback

---------

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2023-03-16 01:48:34 +01:00
calle
70828b59d5 NUT-08 Lightning fee return (#114)
* skeleton

* works

* comments

* docsctrings ledger.py

* bump version to 0.10.

* fixes mypy stuff

* make format

* remove unwanted changes
2023-03-16 01:28:33 +01:00
sihamon
9ae222740a Add ability to force-delete pending token by send ID (#142)
* Add ability to force-delete pending token by send ID

* Make format
2023-03-16 01:07:30 +01:00
calle
f3a31fd09e use settings module (#136)
* use settings module
2023-03-16 00:59:50 +01:00
calle
2d3a29ad94 make format (#139) 2023-03-08 19:27:01 +01:00
sihamon
4d391382b1 Allow to receive all pending tokens (#132) 2023-03-08 19:10:19 +01:00
sihamon
cd1fddb524 Add ability to show n pending tokens starting from offset (#135) 2023-03-08 19:08:56 +01:00
calle
a2cdd002d8 cli logger refactor, poetry update (#125) 2023-03-05 03:29:55 +01:00
calle
d1c32e4c69 nostr: send to nip05 (#112)
* nostr: add sleep after send before closing threads

* cli: nostr send <amount> <npub> without option flag

* parse domain.com nip-05 addresses without user
2023-02-25 14:34:15 +01:00
calle
46eeb2c36e Nostr-p2nip5 (#110)
* move cli

* set_requests decorator

* fix wrapper

* refactor nostr.py

* ignore coroutine unpack error

* nostr lib 0.8

* make format
2023-02-25 12:27:33 +01:00