Use swapper proxy to extract referral ID (#329)

* Use swapper proxy to extract referral ID

* Derive swapper API base URL from proxy URL

* Update RN bindings

* Remove referral_id from Config, move proxy_url parsing to swapper

* Fix tests

* Cache swapper proxy URL

* Move boltz_url from Config to swapper

* Silently fail when fetching proxy swapper URLs

* Update RN bindings

* Fix sdk-common dependency

* Fix dependency issues
This commit is contained in:
ok300
2024-06-25 17:19:02 +00:00
committed by GitHub
parent 0e2f185472
commit 7bd9b6ddb2
22 changed files with 379 additions and 94 deletions

View File

@@ -1318,8 +1318,6 @@ final class wire_cst_liquid_sdk_event extends ffi.Struct {
}
final class wire_cst_config extends ffi.Struct {
external ffi.Pointer<wire_cst_list_prim_u_8_strict> boltz_url;
external ffi.Pointer<wire_cst_list_prim_u_8_strict> liquid_electrum_url;
external ffi.Pointer<wire_cst_list_prim_u_8_strict> bitcoin_electrum_url;