Commit Graph

83 Commits

Author SHA1 Message Date
calle
6b631111d1 Fix/ln unsuccessful payment (#159)
* throws error for unsuccessful payment so that wallets get error message

* bump to 0.11.2
2023-04-03 20:52:14 +02:00
calle
47f886487c nut-09 mint info (#155)
* nut-09 mint info

* bump to 0.11.1

* make format
2023-04-01 00:47:27 +02: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
calle
f3a31fd09e use settings module (#136)
* use settings module
2023-03-16 00:59:50 +01:00
calle
e8011a0f78 Type annotations for bdhke (#140)
* annotate dhke

* raise for errors

* remove backwards compatibility

* remove old code

* remove test code
2023-03-09 17:45:50 +01:00
calle
a7eef68c97 wallet: load keys without keysets (#123)
* wallet: load keys without keysets

* fix cli
2023-03-05 02:51:20 +01:00
calle
23f2b58430 wallet: mint specific amounts (#121)
* wallet: mint specific amounts

* make format
2023-03-04 21:49:39 +01:00
calle
2d66aeb79c Fix invoice asyncio wrapper (#113)
* mypy: fix lightning backend warnings

* fix asyncio invoice creation

* ignore weird mypy error
2023-02-25 16:44:51 +01:00
calle
7e39e1b036 BREAKING: PostMeltRequest, CheckSpendableResponse ` (#106)
* fix PostMeltRequest and /checkfees to GET

* POST /check -> GET /check

* fix GetCheckSpendableResponse

* rename models

* make format

* revert GET

* bump version to 0.9

* skip nostr test
2023-01-30 09:13:46 +01:00
calle
e63db82641 update readme and errors for mint (#107) 2023-01-28 00:08:33 +01:00
callebtc
ff11e7878b mint: endpoint get pubkeys for keyset 2022-12-25 11:42:37 +01:00
callebtc
3d2c6540ab refactor invoice pending 2022-12-23 20:18:55 +01:00
callebtc
1082f2c9d1 refactor 2022-12-14 23:41:36 +01:00
callebtc
cdabc86ba9 defer unpending 2022-12-14 23:27:40 +01:00
callebtc
d08b8a00f6 check pending proofs 2022-12-14 22:50:25 +01:00
callebtc
9f12abebff option to autosave keyset 2022-11-26 02:45:18 +01:00
callebtc
9ca2756f18 load newly generated keyset 2022-10-22 21:47:03 +02:00
callebtc
6481a2d5cd coverage badge 2022-10-16 13:41:46 +02:00
callebtc
223a40e9bd bump version to 0.4.0 2022-10-15 01:08:35 +02:00
callebtc
6f913e3cc9 make format 2022-10-15 00:59:21 +02:00
callebtc
ee16b3e0f9 disable starlette_context 2022-10-15 00:19:44 +02:00
callebtc
167eaf89f2 remove comment 2022-10-14 01:02:19 +02:00
callebtc
5022d4e47f test melt without lightning 2022-10-14 00:05:47 +02:00
callebtc
a84b04605e refactor 2022-10-13 22:11:00 +02:00
callebtc
3437af041e ability to specify the keyset for generating promises mint 2022-10-13 20:07:04 +02:00
callebtc
fcc2c5c3e0 lnbits migrations work 2022-10-12 23:16:08 +02:00
callebtc
fe9de4cbca restart imports 2022-10-11 10:08:05 +02:00
callebtc
d4a89ac76f add tests 2022-10-11 00:19:53 +02:00
callebtc
35a822d3ad try except both functions 2022-10-10 22:44:07 +02:00
callebtc
7d59fb48af try except in all cases 2022-10-10 22:41:41 +02:00
callebtc
c85bb5e2b1 debug logs 2022-10-10 22:38:08 +02:00
callebtc
d9918def50 check if keyset exists 2022-10-10 22:26:21 +02:00
callebtc
9c3e856d4f try both 2022-10-10 22:19:47 +02:00
callebtc
e9888440e3 debug 2022-10-10 22:17:40 +02:00
callebtc
777e419388 debug 2022-10-10 22:16:20 +02:00
callebtc
e3ab0ea961 keyset versions 2022-10-10 22:10:59 +02:00
callebtc
d5e92a3f44 keyset with version 2022-10-10 22:08:11 +02:00
callebtc
7c93daa05a make format 2022-10-10 21:53:25 +02:00
callebtc
370fe3b02b clean 2022-10-10 21:52:52 +02:00
callebtc
3e7b8ccab1 print more 2022-10-10 21:44:12 +02:00
callebtc
e3b48773a6 local keyset print 2022-10-10 21:43:13 +02:00
callebtc
13b9cd17bd set context version in http middleware 2022-10-10 21:36:29 +02:00
callebtc
224e5c44ca add derivation path 2022-10-10 21:23:12 +02:00
callebtc
080ae4b224 context 2022-10-10 21:17:53 +02:00
callebtc
88a7e38da0 update hash_to_curve 2022-10-10 19:00:33 +02:00
callebtc
e4747910c9 refactor 2022-10-09 17:51:37 +02:00
callebtc
7f1b026bb9 comments 2022-10-08 20:23:41 +02:00
callebtc
eb46fd7b74 load keysets after storing them lol 2022-10-08 20:03:46 +02:00
callebtc
45b8aa5fc0 test 2022-10-08 20:00:05 +02:00
callebtc
13e583e492 load mint 2022-10-08 19:44:36 +02:00