Roei Erez
8cf6a26dc0
Merge branch 'v0.4.0'
...
* v0.4.0:
Fix SDK checkout (#528 )
update version to 0.4.0-rc3
update version to 0.4.0-rc2
Fix details fields error
Add notification plugin CI
update version to 0.4.0-rc1
2024-10-22 10:36:32 +03:00
Ross Savage
3c69246f13
Add API key to RN example ( #533 )
2024-10-20 20:52:49 +02:00
Roei Erez
bbac3f5fc2
remove old files
2024-10-18 11:25:10 +02:00
Roei Erez
8cce2afe5d
Add react native bindings
2024-10-18 11:25:10 +02:00
ok300
cbe835b565
GetInfoResponse: add fingerprint (#532 )
...
* GetInfoResponse: add fingerprint
* Re-generate dart ffi with `just ffigen`
* Re-generate dart ffi with `just gen`
2024-10-17 14:36:33 +00:00
Ross Savage
5f638aec37
Fix list payments filter ( #529 )
2024-10-15 10:18:11 +02:00
Roei Erez
31fcfaa3db
update version to 0.4.0-rc3
2024-10-14 11:45:16 +03:00
Ross Savage
0884106159
Add prepare_lnurl_pay ( #524 )
...
* Add prepare_lnurl_pay
* Move fields into prepare response
2024-10-14 10:06:14 +02:00
Roei Erez
63d9305acd
update version to 0.4.0-rc2
2024-10-14 10:44:14 +03:00
Roei Erez
e2fd502827
update version to 0.4.0-rc1
2024-10-13 15:01:46 +03:00
Ross Savage
3867fa91da
Get Payment ( #476 )
...
* Get payment by destination
* CI fixes
* Remove claim_address from query
* Add PaymentDestination enum
* Add payment hash as a payment query option
* Bump Flutter dependencies
* Move destination/address queries to list_payments
* Apply suggestions from code review
Co-authored-by: yse <70684173+hydra-yse@users.noreply.github.com >
---------
Co-authored-by: yse <70684173+hydra-yse@users.noreply.github.com >
2024-10-10 17:44:32 +02:00
yse
42f4ca0129
feat: require Breez API key globally on mainnet ( #520 )
2024-10-08 16:17:34 +02:00
Roei Erez
4d1690bfc4
update version to 0.3.4
2024-09-25 12:36:13 +03:00
Ross Savage
a6eb72c44c
Fix pay onchain claim fee ( #499 )
...
* Fix pay onchain claim fee
* Bump flutter example dependencies
(cherry picked from commit 9c0e469ad1 )
2024-09-25 10:51:17 +02:00
Roei Erez
24d41de656
update versions
2024-09-25 09:31:55 +03:00
Roei Erez
cd9cb9c46c
update version to 0.3.2
2024-09-24 16:47:32 +03:00
yse
783c5ac450
feat: refactor refund logic and support lowball broadcasts ( #407 )
2024-09-20 15:57:54 +02:00
yse
189e257f89
feat: add lowball broadcast support with API key for all transaction types ( #489 )
2024-09-20 13:04:49 +02:00
ok300
e8cd66f81f
prepare-pay-onchain: add option for drain ( #464 )
...
* prepare-pay-onchain: add option for drain in req
* Fix clippy
* ChainSwapStateHandler: gracefully handle building both drain and non-drain lockups
* Send Chain swap: use standard feerate when estimating lockup tx fee
* UDL: move new drain field above the last PreparePayOnchainRequest optional field
* UDL: move new drain field optional
* prepare-pay-onchain: treat normal payment as drain if receiver amount is high enough
If the receiver amount is as high as it would be in case of drain, treat the current prepare-pay-onchain as drain, even if the drain flag is not set.
* build_drain_tx: add optional amount validation
* Add PayOnchainAmount enum to cover amount types (drain, receiver)
* Add ability to find max_receiver_amount_sat for non-drain sends
* Revert "Add ability to find max_receiver_amount_sat for non-drain sends"
This reverts commit 60ee1c768021810f72bc64a8ada69d35b638185e.
* prepare_pay_onchain: treat drain and non-drain cases separately
If the non-drain case is chosen with a receiver_amount equivalent to what drain would have calculated, it results in an error. For drain, the caller has to explicitly choose PayOnchainAmount::Drain.
* CLI: send-onchain-payment accepts optional amount
* CLI: add docs for send-onchain-payment drain arg
* SDK: expand docs for prepare_pay_onchain
* Re-generate RN bindings
* Re-generate flutter bindings
2024-09-11 15:52:56 +00:00
Ross Savage
c141d8e0a4
Change short_channel_id to string ( #484 )
...
* Change short_channel_id to string
* Bump sdk-common
2024-09-11 12:54:39 +02:00
Ross Savage
bd39b7ab02
RN: Prevent conversion of ReadableMap to HashMap ( #482 )
...
* Prevent conversion of ReadableMap to HashMap
* Handle Null ReadableType
2024-09-09 20:04:14 +02:00
yse
2dc3d57309
fix: set PaymentDetails as mandatory, default to LiquidAddress ( #474 )
2024-09-09 13:00:22 +02:00
Ross Savage
abf63931de
Set optional prepare params as null ( #472 )
2024-09-05 15:21:23 +02:00
Ross Savage
6b78919df8
Add sign_message and check_message ( #443 )
...
* Add sign and check message methods
* Use lightning message_signing module to verify the message signature
* Use hash engine
2024-08-29 08:42:16 +02:00
Ross Savage
deb9ed1b09
Add description hash to receive payment ( #440 )
...
* Add option to hash description
* Fix Flutter gen
* Switch to upstream boltz-rust
* Address feedback
2024-08-29 08:17:10 +02:00
Ross Savage
34774647bf
Integrate webhooks ( #410 )
...
* Integrate webhooks
* Make hash_swap_id optional
* Hash and store the swap id
* Add webhook status include lists
* Remove superfluous webhook statuses
* Verify and fetch user_lockup_tx_id if missing
* Fix tests
* Use bitcoin sha256
* Fix flutter CI
2024-08-29 08:03:50 +02:00
Ross Savage
251c252374
Add Go/CS bindings ( #147 )
...
* Publish Go/CS packages
* Fix optional param ordering
* Fix CI installed bindgens
2024-08-28 15:14:20 +02:00
Ross Savage
59f5e0636c
Handle in RN codegen multiple fields in enum variant ( #453 )
...
* Update RN example
* Handle enum variants with multiple fields
2024-08-23 06:12:39 +02:00
yse
1a89bcd6c1
feat: add BIP21 support ( #414 )
...
Co-authored-by: Erdem Yerebasmaz <erdem@yerebasmaz.com >
Co-authored-by: ok300 <106775972+ok300@users.noreply.github.com >
2024-08-22 12:23:36 +02:00
Erdem Yerebasmaz
5248dfc235
Depend on sdk-common with liquid feature ( #452 )
...
* Add copy script to packages/react-native makefile
* Reorder scripts
* Depend on sdk-common with liquid feature
* chore: cargo update
* Generate Dart bindings
* Generate UniFFI bindings
* Simplify import resolution by using prelude::*
* Applies changes from https://github.com/breez/breez-sdk-greenlight/pull/1078
2024-08-20 18:50:27 +03:00
Roei Erez
d123a77b12
update version to 0.2.1
2024-08-01 16:27:08 +03:00
Roei Erez
ad55007add
Fix conflict with os.Logger
2024-08-01 16:10:51 +03:00
Roei Erez
65ce16ea5f
update version to 0.2.0
2024-07-25 17:19:47 +03:00
Roei Erez
63e5a12abb
Merge branch 'v0.1.4'
2024-07-25 17:16:27 +03:00
Ross Savage
baa8096852
Update boltz-rust and add receive payment description ( #409 )
...
* Update boltz-rust
* Store description and add to Payment struct
* Fix examples
2024-07-25 12:46:40 +02:00
Roei Erez
ad0bad1431
update versions to 0.1.4
2024-07-22 15:18:02 +03:00
Ross Savage
bfeb785221
Buy Bitcoin ( #398 )
...
* Add fiat on-ramp service
* Use sdk-common MoonpayProvider
* Bump flutter qr dependency
* Bump sdk-common dependency
2024-07-19 14:57:51 +02:00
Ross Savage
8ac220275e
Update version to 0.1.3.rc2
2024-07-17 08:19:54 +02:00
Ross Savage
a3eb4caaf2
Add validate url success action param ( #395 )
2024-07-16 10:08:30 +02:00
Ross Savage
02408d2e04
Add validate url success action param
...
(cherry picked from commit bcd1b33004cb0f6762db7e8e3acfcf77d7eb9429)
2024-07-16 10:06:22 +03:00
Roei Erez
938f74d7d1
update version to 0.1.3.rc1
2024-07-16 09:14:39 +03:00
Ross Savage
0da35259fe
Allow custom pay_onchain claim fees ( #391 )
...
* Allow optional fee rate for pay onchain BTC claim
* Add recommended_fees method
* Fix example Config
* Address review comments
2024-07-15 17:38:10 +02:00
Ross Savage
a69f302e53
Regenerate RN ( #387 )
2024-07-11 19:17:57 +02:00
Ross Savage
a4a8f961d2
Update UDL to fix python default argment ordering ( #385 )
2024-07-11 19:17:36 +02:00
Ross Savage
143993fd3a
List payments filtering and paging ( #369 )
...
* List payments in reverse chonological order
* Add payment filtering and paging
* Fix examples
* Apply suggestions from code review
Co-authored-by: Erdem Yerebasmaz <erdem@yerebasmaz.com >
* Set timestamp for pseudo payments
* Filter by the first non-null timestamp from the join query
---------
Co-authored-by: Erdem Yerebasmaz <erdem@yerebasmaz.com >
2024-07-10 17:50:53 +02:00
Ross Savage
da43f7ff78
Rename namespace ( #345 )
...
* Rename namespace
* Fix flutter build
* Fix kotlin-multiplatform CI
* Rename repositories
2024-07-09 17:25:05 +02:00
Ross Savage
05507063f0
Change Config param to zero_conf_min_fee_rate_msat ( #374 )
...
* Change Config param to zero_conf_min_fee_rate_msat
* Fix Flutter example
2024-07-09 14:13:42 +02:00
Ross Savage
86d778f3b6
Fix type generation ( #362 )
2024-07-04 18:54:19 +02:00
ok300
08b2e5a6e2
Add fetch_onchain_limits service method ( #343 )
...
* Add pay_onchain_limits service method
* Add receive_onchain_limits service method
* Merge pay/receive_onchain_limits
* Update field names
* Split swapper method in get_chain_pair and get_chain_pairs
* Fix test
* Introduce and re-use Limits model
* Add fetch_lightning_limits SDK method
* Fix CI: propagate latest sdk-common changes
2024-07-03 09:22:29 +00:00
Ross Savage
15a243251e
Fix example network and logger call ( #349 )
2024-07-01 10:11:02 +02:00