mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2026-01-04 06:44:21 +01:00
Apply renaming changes
- breez_sdk_liquid -> breez_liquid_sdk - Fix repository hyperlinks - Change descriptions on Dart/Flutter packages
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
dartdoc:
|
||||
linkToSource:
|
||||
root: .
|
||||
uriTemplate: 'https://github.com/breez-sdk/breez-sdk-liquid/blob/main/%f%#L%l%'
|
||||
uriTemplate: 'https://github.com/breez/breez-liquid-sdk/blob/main/%f%#L%l%'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: breez_sdk_liquid
|
||||
repository: https://github.com/breez-sdk/breez-sdk-liquid
|
||||
name: breez_liquid_sdk
|
||||
repository: https://github.com/breez/breez-liquid-sdk
|
||||
packages:
|
||||
- packages/**
|
||||
- scripts
|
||||
|
||||
12
lib/bindings/bindings-flutter/melos_breez_liquid_sdk.iml
Normal file
12
lib/bindings/bindings-flutter/melos_breez_liquid_sdk.iml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="WEB_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$" isTestSource="false" />
|
||||
</content>
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" name="Dart SDK" level="project" />
|
||||
<orderEntry type="library" name="Dart Packages" level="project" />
|
||||
</component>
|
||||
</module>
|
||||
@@ -1,8 +1,8 @@
|
||||
name: breez_liquid
|
||||
description: Dart bindings to the Breez SDK Liquid library
|
||||
description: Dart bindings to the Breez Liquid SDK
|
||||
version: 0.1.0
|
||||
homepage: https://breez.technology
|
||||
repository: https://github.com/breez-sdk/breez-sdk-liquid
|
||||
repository: https://github.com/breez/breez-liquid-sdk
|
||||
|
||||
platforms:
|
||||
macos:
|
||||
|
||||
@@ -15,7 +15,7 @@ set(LibRoot "${CMAKE_CURRENT_SOURCE_DIR}/src/main/jniLibs")
|
||||
set(ArchivePath "${CMAKE_CURRENT_SOURCE_DIR}/${LibraryVersion}.tar.gz")
|
||||
if(NOT EXISTS ${ArchivePath})
|
||||
file(DOWNLOAD
|
||||
"https://github.com/breez-sdk/breez-sdk-liquid/releases/download/${LibraryVersion}/android.tar.gz"
|
||||
"https://github.com/breez/breez-liquid-sdk/releases/download/${LibraryVersion}/android.tar.gz"
|
||||
${ArchivePath}
|
||||
TLS_VERIFY ON
|
||||
)
|
||||
|
||||
@@ -1,200 +0,0 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
// EXTRA BEGIN
|
||||
typedef struct DartCObject *WireSyncRust2DartDco;
|
||||
typedef struct WireSyncRust2DartSse {
|
||||
uint8_t *ptr;
|
||||
int32_t len;
|
||||
} WireSyncRust2DartSse;
|
||||
|
||||
typedef int64_t DartPort;
|
||||
typedef bool (*DartPostCObjectFnType)(DartPort port_id, void *message);
|
||||
void store_dart_post_cobject(DartPostCObjectFnType ptr);
|
||||
// EXTRA END
|
||||
typedef struct _Dart_Handle* Dart_Handle;
|
||||
|
||||
/**
|
||||
* Claim tx feerate for Receive, in sats per vbyte.
|
||||
* Since the Liquid blocks are consistently empty for now, we hardcode the minimum feerate.
|
||||
*/
|
||||
#define LIQUID_CLAIM_TX_FEERATE 0.1
|
||||
|
||||
typedef struct wire_cst_list_prim_u_8_strict {
|
||||
uint8_t *ptr;
|
||||
int32_t len;
|
||||
} wire_cst_list_prim_u_8_strict;
|
||||
|
||||
typedef struct wire_cst_connect_request {
|
||||
struct wire_cst_list_prim_u_8_strict *mnemonic;
|
||||
struct wire_cst_list_prim_u_8_strict *data_dir;
|
||||
int32_t network;
|
||||
} wire_cst_connect_request;
|
||||
|
||||
typedef struct wire_cst_get_info_request {
|
||||
bool with_scan;
|
||||
} wire_cst_get_info_request;
|
||||
|
||||
typedef struct wire_cst_prepare_receive_request {
|
||||
uint64_t payer_amount_sat;
|
||||
} wire_cst_prepare_receive_request;
|
||||
|
||||
typedef struct wire_cst_prepare_send_request {
|
||||
struct wire_cst_list_prim_u_8_strict *invoice;
|
||||
} wire_cst_prepare_send_request;
|
||||
|
||||
typedef struct wire_cst_prepare_receive_response {
|
||||
struct wire_cst_list_prim_u_8_strict *pair_hash;
|
||||
uint64_t payer_amount_sat;
|
||||
uint64_t fees_sat;
|
||||
} wire_cst_prepare_receive_response;
|
||||
|
||||
typedef struct wire_cst_restore_request {
|
||||
struct wire_cst_list_prim_u_8_strict *backup_path;
|
||||
} wire_cst_restore_request;
|
||||
|
||||
typedef struct wire_cst_prepare_send_response {
|
||||
struct wire_cst_list_prim_u_8_strict *id;
|
||||
uint64_t payer_amount_sat;
|
||||
uint64_t receiver_amount_sat;
|
||||
uint64_t total_fees;
|
||||
struct wire_cst_list_prim_u_8_strict *funding_address;
|
||||
struct wire_cst_list_prim_u_8_strict *invoice;
|
||||
} wire_cst_prepare_send_response;
|
||||
|
||||
typedef struct wire_cst_payment {
|
||||
struct wire_cst_list_prim_u_8_strict *id;
|
||||
uint32_t *timestamp;
|
||||
uint64_t amount_sat;
|
||||
uint64_t *fees_sat;
|
||||
int32_t payment_type;
|
||||
struct wire_cst_list_prim_u_8_strict *invoice;
|
||||
} wire_cst_payment;
|
||||
|
||||
typedef struct wire_cst_list_payment {
|
||||
struct wire_cst_payment *ptr;
|
||||
int32_t len;
|
||||
} wire_cst_list_payment;
|
||||
|
||||
typedef struct wire_cst_get_info_response {
|
||||
uint64_t balance_sat;
|
||||
struct wire_cst_list_prim_u_8_strict *pubkey;
|
||||
} wire_cst_get_info_response;
|
||||
|
||||
typedef struct wire_cst_PaymentError_Generic {
|
||||
struct wire_cst_list_prim_u_8_strict *err;
|
||||
} wire_cst_PaymentError_Generic;
|
||||
|
||||
typedef struct wire_cst_PaymentError_LwkError {
|
||||
struct wire_cst_list_prim_u_8_strict *err;
|
||||
} wire_cst_PaymentError_LwkError;
|
||||
|
||||
typedef struct wire_cst_PaymentError_SendError {
|
||||
struct wire_cst_list_prim_u_8_strict *err;
|
||||
} wire_cst_PaymentError_SendError;
|
||||
|
||||
typedef struct wire_cst_PaymentError_SignerError {
|
||||
struct wire_cst_list_prim_u_8_strict *err;
|
||||
} wire_cst_PaymentError_SignerError;
|
||||
|
||||
typedef union PaymentErrorKind {
|
||||
struct wire_cst_PaymentError_Generic Generic;
|
||||
struct wire_cst_PaymentError_LwkError LwkError;
|
||||
struct wire_cst_PaymentError_SendError SendError;
|
||||
struct wire_cst_PaymentError_SignerError SignerError;
|
||||
} PaymentErrorKind;
|
||||
|
||||
typedef struct wire_cst_payment_error {
|
||||
int32_t tag;
|
||||
union PaymentErrorKind kind;
|
||||
} wire_cst_payment_error;
|
||||
|
||||
typedef struct wire_cst_receive_payment_response {
|
||||
struct wire_cst_list_prim_u_8_strict *id;
|
||||
struct wire_cst_list_prim_u_8_strict *invoice;
|
||||
} wire_cst_receive_payment_response;
|
||||
|
||||
typedef struct wire_cst_send_payment_response {
|
||||
struct wire_cst_list_prim_u_8_strict *txid;
|
||||
} wire_cst_send_payment_response;
|
||||
|
||||
void frbgen_breez_liquid_wire_backup(int64_t port_);
|
||||
|
||||
void frbgen_breez_liquid_wire_connect(int64_t port_, struct wire_cst_connect_request *req);
|
||||
|
||||
void frbgen_breez_liquid_wire_empty_wallet_cache(int64_t port_);
|
||||
|
||||
void frbgen_breez_liquid_wire_get_info(int64_t port_, struct wire_cst_get_info_request *req);
|
||||
|
||||
void frbgen_breez_liquid_wire_list_payments(int64_t port_, bool with_scan, bool include_pending);
|
||||
|
||||
void frbgen_breez_liquid_wire_prepare_receive_payment(int64_t port_,
|
||||
struct wire_cst_prepare_receive_request *req);
|
||||
|
||||
void frbgen_breez_liquid_wire_prepare_send_payment(int64_t port_,
|
||||
struct wire_cst_prepare_send_request *req);
|
||||
|
||||
void frbgen_breez_liquid_wire_receive_payment(int64_t port_,
|
||||
struct wire_cst_prepare_receive_response *req);
|
||||
|
||||
void frbgen_breez_liquid_wire_recover_funds(int64_t port_, uintptr_t recovery);
|
||||
|
||||
void frbgen_breez_liquid_wire_restore(int64_t port_, struct wire_cst_restore_request *req);
|
||||
|
||||
void frbgen_breez_liquid_wire_send_payment(int64_t port_,
|
||||
struct wire_cst_prepare_send_response *req);
|
||||
|
||||
void frbgen_breez_liquid_rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedrust_asyncRwLockLBtcReverseRecovery(const void *ptr);
|
||||
|
||||
void frbgen_breez_liquid_rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedrust_asyncRwLockLBtcReverseRecovery(const void *ptr);
|
||||
|
||||
struct wire_cst_connect_request *frbgen_breez_liquid_cst_new_box_autoadd_connect_request(void);
|
||||
|
||||
struct wire_cst_get_info_request *frbgen_breez_liquid_cst_new_box_autoadd_get_info_request(void);
|
||||
|
||||
struct wire_cst_prepare_receive_request *frbgen_breez_liquid_cst_new_box_autoadd_prepare_receive_request(void);
|
||||
|
||||
struct wire_cst_prepare_receive_response *frbgen_breez_liquid_cst_new_box_autoadd_prepare_receive_response(void);
|
||||
|
||||
struct wire_cst_prepare_send_request *frbgen_breez_liquid_cst_new_box_autoadd_prepare_send_request(void);
|
||||
|
||||
struct wire_cst_prepare_send_response *frbgen_breez_liquid_cst_new_box_autoadd_prepare_send_response(void);
|
||||
|
||||
struct wire_cst_restore_request *frbgen_breez_liquid_cst_new_box_autoadd_restore_request(void);
|
||||
|
||||
uint32_t *frbgen_breez_liquid_cst_new_box_autoadd_u_32(uint32_t value);
|
||||
|
||||
uint64_t *frbgen_breez_liquid_cst_new_box_autoadd_u_64(uint64_t value);
|
||||
|
||||
struct wire_cst_list_payment *frbgen_breez_liquid_cst_new_list_payment(int32_t len);
|
||||
|
||||
struct wire_cst_list_prim_u_8_strict *frbgen_breez_liquid_cst_new_list_prim_u_8_strict(int32_t len);
|
||||
static int64_t dummy_method_to_enforce_bundling(void) {
|
||||
int64_t dummy_var = 0;
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_cst_new_box_autoadd_connect_request);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_cst_new_box_autoadd_get_info_request);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_cst_new_box_autoadd_prepare_receive_request);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_cst_new_box_autoadd_prepare_receive_response);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_cst_new_box_autoadd_prepare_send_request);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_cst_new_box_autoadd_prepare_send_response);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_cst_new_box_autoadd_restore_request);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_cst_new_box_autoadd_u_32);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_cst_new_box_autoadd_u_64);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_cst_new_list_payment);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_cst_new_list_prim_u_8_strict);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedrust_asyncRwLockLBtcReverseRecovery);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedrust_asyncRwLockLBtcReverseRecovery);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_wire_backup);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_wire_connect);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_wire_empty_wallet_cache);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_wire_get_info);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_wire_list_payments);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_wire_prepare_receive_payment);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_wire_prepare_send_payment);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_wire_receive_payment);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_wire_recover_funds);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_wire_restore);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_wire_send_payment);
|
||||
dummy_var ^= ((int64_t) (void*) store_dart_post_cobject);
|
||||
return dummy_var;
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
/Users/erdem/Documents/GitHub/breez-sdk-liquid/lib/bindings/bindings-flutter/breez_liquid_sdk/include/breez_liquid_sdk.h
|
||||
@@ -4,7 +4,7 @@ release_tag_name = 'breez_liquid-v0.1.0' # generated; do not edit
|
||||
# so we have to fetch the correct version here.
|
||||
framework_name = 'breez_liquid_sdk.xcframework'
|
||||
remote_zip_name = "#{framework_name}.zip"
|
||||
url = "https://github.com/breez-sdk/breez-sdk-liquid/releases/download/#{release_tag_name}/#{remote_zip_name}"
|
||||
url = "https://github.com/breez/breez-liquid-sdk/releases/download/#{release_tag_name}/#{remote_zip_name}"
|
||||
local_zip_name = "#{release_tag_name}.zip"
|
||||
`
|
||||
cd Frameworks
|
||||
|
||||
@@ -14,7 +14,7 @@ set(LibRoot "${CMAKE_CURRENT_SOURCE_DIR}/${LibraryVersion}")
|
||||
set(ArchivePath "${LibRoot}.tar.gz")
|
||||
if(NOT EXISTS ${ArchivePath})
|
||||
file(DOWNLOAD
|
||||
"https://github.com/breez-sdk/breez-sdk-liquid/releases/download/${LibraryVersion}/other.tar.gz"
|
||||
"https://github.com/breez/breez-liquid-sdk/releases/download/${LibraryVersion}/other.tar.gz"
|
||||
${ArchivePath}
|
||||
TLS_VERIFY ON
|
||||
)
|
||||
|
||||
@@ -1,200 +0,0 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
// EXTRA BEGIN
|
||||
typedef struct DartCObject *WireSyncRust2DartDco;
|
||||
typedef struct WireSyncRust2DartSse {
|
||||
uint8_t *ptr;
|
||||
int32_t len;
|
||||
} WireSyncRust2DartSse;
|
||||
|
||||
typedef int64_t DartPort;
|
||||
typedef bool (*DartPostCObjectFnType)(DartPort port_id, void *message);
|
||||
void store_dart_post_cobject(DartPostCObjectFnType ptr);
|
||||
// EXTRA END
|
||||
typedef struct _Dart_Handle* Dart_Handle;
|
||||
|
||||
/**
|
||||
* Claim tx feerate for Receive, in sats per vbyte.
|
||||
* Since the Liquid blocks are consistently empty for now, we hardcode the minimum feerate.
|
||||
*/
|
||||
#define LIQUID_CLAIM_TX_FEERATE 0.1
|
||||
|
||||
typedef struct wire_cst_list_prim_u_8_strict {
|
||||
uint8_t *ptr;
|
||||
int32_t len;
|
||||
} wire_cst_list_prim_u_8_strict;
|
||||
|
||||
typedef struct wire_cst_connect_request {
|
||||
struct wire_cst_list_prim_u_8_strict *mnemonic;
|
||||
struct wire_cst_list_prim_u_8_strict *data_dir;
|
||||
int32_t network;
|
||||
} wire_cst_connect_request;
|
||||
|
||||
typedef struct wire_cst_get_info_request {
|
||||
bool with_scan;
|
||||
} wire_cst_get_info_request;
|
||||
|
||||
typedef struct wire_cst_prepare_receive_request {
|
||||
uint64_t payer_amount_sat;
|
||||
} wire_cst_prepare_receive_request;
|
||||
|
||||
typedef struct wire_cst_prepare_send_request {
|
||||
struct wire_cst_list_prim_u_8_strict *invoice;
|
||||
} wire_cst_prepare_send_request;
|
||||
|
||||
typedef struct wire_cst_prepare_receive_response {
|
||||
struct wire_cst_list_prim_u_8_strict *pair_hash;
|
||||
uint64_t payer_amount_sat;
|
||||
uint64_t fees_sat;
|
||||
} wire_cst_prepare_receive_response;
|
||||
|
||||
typedef struct wire_cst_restore_request {
|
||||
struct wire_cst_list_prim_u_8_strict *backup_path;
|
||||
} wire_cst_restore_request;
|
||||
|
||||
typedef struct wire_cst_prepare_send_response {
|
||||
struct wire_cst_list_prim_u_8_strict *id;
|
||||
uint64_t payer_amount_sat;
|
||||
uint64_t receiver_amount_sat;
|
||||
uint64_t total_fees;
|
||||
struct wire_cst_list_prim_u_8_strict *funding_address;
|
||||
struct wire_cst_list_prim_u_8_strict *invoice;
|
||||
} wire_cst_prepare_send_response;
|
||||
|
||||
typedef struct wire_cst_payment {
|
||||
struct wire_cst_list_prim_u_8_strict *id;
|
||||
uint32_t *timestamp;
|
||||
uint64_t amount_sat;
|
||||
uint64_t *fees_sat;
|
||||
int32_t payment_type;
|
||||
struct wire_cst_list_prim_u_8_strict *invoice;
|
||||
} wire_cst_payment;
|
||||
|
||||
typedef struct wire_cst_list_payment {
|
||||
struct wire_cst_payment *ptr;
|
||||
int32_t len;
|
||||
} wire_cst_list_payment;
|
||||
|
||||
typedef struct wire_cst_get_info_response {
|
||||
uint64_t balance_sat;
|
||||
struct wire_cst_list_prim_u_8_strict *pubkey;
|
||||
} wire_cst_get_info_response;
|
||||
|
||||
typedef struct wire_cst_PaymentError_Generic {
|
||||
struct wire_cst_list_prim_u_8_strict *err;
|
||||
} wire_cst_PaymentError_Generic;
|
||||
|
||||
typedef struct wire_cst_PaymentError_LwkError {
|
||||
struct wire_cst_list_prim_u_8_strict *err;
|
||||
} wire_cst_PaymentError_LwkError;
|
||||
|
||||
typedef struct wire_cst_PaymentError_SendError {
|
||||
struct wire_cst_list_prim_u_8_strict *err;
|
||||
} wire_cst_PaymentError_SendError;
|
||||
|
||||
typedef struct wire_cst_PaymentError_SignerError {
|
||||
struct wire_cst_list_prim_u_8_strict *err;
|
||||
} wire_cst_PaymentError_SignerError;
|
||||
|
||||
typedef union PaymentErrorKind {
|
||||
struct wire_cst_PaymentError_Generic Generic;
|
||||
struct wire_cst_PaymentError_LwkError LwkError;
|
||||
struct wire_cst_PaymentError_SendError SendError;
|
||||
struct wire_cst_PaymentError_SignerError SignerError;
|
||||
} PaymentErrorKind;
|
||||
|
||||
typedef struct wire_cst_payment_error {
|
||||
int32_t tag;
|
||||
union PaymentErrorKind kind;
|
||||
} wire_cst_payment_error;
|
||||
|
||||
typedef struct wire_cst_receive_payment_response {
|
||||
struct wire_cst_list_prim_u_8_strict *id;
|
||||
struct wire_cst_list_prim_u_8_strict *invoice;
|
||||
} wire_cst_receive_payment_response;
|
||||
|
||||
typedef struct wire_cst_send_payment_response {
|
||||
struct wire_cst_list_prim_u_8_strict *txid;
|
||||
} wire_cst_send_payment_response;
|
||||
|
||||
void frbgen_breez_liquid_wire_backup(int64_t port_);
|
||||
|
||||
void frbgen_breez_liquid_wire_connect(int64_t port_, struct wire_cst_connect_request *req);
|
||||
|
||||
void frbgen_breez_liquid_wire_empty_wallet_cache(int64_t port_);
|
||||
|
||||
void frbgen_breez_liquid_wire_get_info(int64_t port_, struct wire_cst_get_info_request *req);
|
||||
|
||||
void frbgen_breez_liquid_wire_list_payments(int64_t port_, bool with_scan, bool include_pending);
|
||||
|
||||
void frbgen_breez_liquid_wire_prepare_receive_payment(int64_t port_,
|
||||
struct wire_cst_prepare_receive_request *req);
|
||||
|
||||
void frbgen_breez_liquid_wire_prepare_send_payment(int64_t port_,
|
||||
struct wire_cst_prepare_send_request *req);
|
||||
|
||||
void frbgen_breez_liquid_wire_receive_payment(int64_t port_,
|
||||
struct wire_cst_prepare_receive_response *req);
|
||||
|
||||
void frbgen_breez_liquid_wire_recover_funds(int64_t port_, uintptr_t recovery);
|
||||
|
||||
void frbgen_breez_liquid_wire_restore(int64_t port_, struct wire_cst_restore_request *req);
|
||||
|
||||
void frbgen_breez_liquid_wire_send_payment(int64_t port_,
|
||||
struct wire_cst_prepare_send_response *req);
|
||||
|
||||
void frbgen_breez_liquid_rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedrust_asyncRwLockLBtcReverseRecovery(const void *ptr);
|
||||
|
||||
void frbgen_breez_liquid_rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedrust_asyncRwLockLBtcReverseRecovery(const void *ptr);
|
||||
|
||||
struct wire_cst_connect_request *frbgen_breez_liquid_cst_new_box_autoadd_connect_request(void);
|
||||
|
||||
struct wire_cst_get_info_request *frbgen_breez_liquid_cst_new_box_autoadd_get_info_request(void);
|
||||
|
||||
struct wire_cst_prepare_receive_request *frbgen_breez_liquid_cst_new_box_autoadd_prepare_receive_request(void);
|
||||
|
||||
struct wire_cst_prepare_receive_response *frbgen_breez_liquid_cst_new_box_autoadd_prepare_receive_response(void);
|
||||
|
||||
struct wire_cst_prepare_send_request *frbgen_breez_liquid_cst_new_box_autoadd_prepare_send_request(void);
|
||||
|
||||
struct wire_cst_prepare_send_response *frbgen_breez_liquid_cst_new_box_autoadd_prepare_send_response(void);
|
||||
|
||||
struct wire_cst_restore_request *frbgen_breez_liquid_cst_new_box_autoadd_restore_request(void);
|
||||
|
||||
uint32_t *frbgen_breez_liquid_cst_new_box_autoadd_u_32(uint32_t value);
|
||||
|
||||
uint64_t *frbgen_breez_liquid_cst_new_box_autoadd_u_64(uint64_t value);
|
||||
|
||||
struct wire_cst_list_payment *frbgen_breez_liquid_cst_new_list_payment(int32_t len);
|
||||
|
||||
struct wire_cst_list_prim_u_8_strict *frbgen_breez_liquid_cst_new_list_prim_u_8_strict(int32_t len);
|
||||
static int64_t dummy_method_to_enforce_bundling(void) {
|
||||
int64_t dummy_var = 0;
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_cst_new_box_autoadd_connect_request);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_cst_new_box_autoadd_get_info_request);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_cst_new_box_autoadd_prepare_receive_request);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_cst_new_box_autoadd_prepare_receive_response);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_cst_new_box_autoadd_prepare_send_request);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_cst_new_box_autoadd_prepare_send_response);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_cst_new_box_autoadd_restore_request);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_cst_new_box_autoadd_u_32);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_cst_new_box_autoadd_u_64);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_cst_new_list_payment);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_cst_new_list_prim_u_8_strict);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedrust_asyncRwLockLBtcReverseRecovery);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedrust_asyncRwLockLBtcReverseRecovery);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_wire_backup);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_wire_connect);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_wire_empty_wallet_cache);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_wire_get_info);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_wire_list_payments);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_wire_prepare_receive_payment);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_wire_prepare_send_payment);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_wire_receive_payment);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_wire_recover_funds);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_wire_restore);
|
||||
dummy_var ^= ((int64_t) (void*) frbgen_breez_liquid_wire_send_payment);
|
||||
dummy_var ^= ((int64_t) (void*) store_dart_post_cobject);
|
||||
return dummy_var;
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
/Users/erdem/Documents/GitHub/breez-sdk-liquid/lib/bindings/bindings-flutter/breez_liquid_sdk/include/breez_liquid_sdk.h
|
||||
@@ -4,7 +4,7 @@ release_tag_name = 'breez_liquid-v0.1.0' # generated; do not edit
|
||||
# so we have to fetch the correct version here.
|
||||
framework_name = 'breez_liquid_sdk.xcframework'
|
||||
remote_zip_name = "#{framework_name}.zip"
|
||||
url = "https://github.com/breez-sdk/breez-sdk-liquid/releases/download/#{release_tag_name}/#{remote_zip_name}"
|
||||
url = "https://github.com/breez/breez-liquid-sdk/releases/download/#{release_tag_name}/#{remote_zip_name}"
|
||||
local_zip_name = "#{release_tag_name}.zip"
|
||||
`
|
||||
cd Frameworks
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: flutter_breez_liquid
|
||||
description: A new Flutter FFI plugin project.
|
||||
description: Flutter wrapper to Dart bindings of the Breez Liquid SDK
|
||||
version: 0.1.0
|
||||
homepage: https://breez.technology
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ set(LibRoot "${CMAKE_CURRENT_SOURCE_DIR}/${LibraryVersion}")
|
||||
set(ArchivePath "${LibRoot}.tar.gz")
|
||||
if(NOT EXISTS ${ArchivePath})
|
||||
file(DOWNLOAD
|
||||
"https://github.com/breez-sdk/breez-sdk-liquid/releases/download/${LibraryVersion}/other.tar.gz"
|
||||
"https://github.com/breez/breez-liquid-sdk/releases/download/${LibraryVersion}/other.tar.gz"
|
||||
${ArchivePath}
|
||||
TLS_VERIFY ON
|
||||
)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: breez_sdk_liquid_workspace
|
||||
name: breez_liquid_sdk_workspace
|
||||
|
||||
environment:
|
||||
sdk: '>=3.0.0 <4.0.0'
|
||||
|
||||
@@ -2,7 +2,7 @@ name: scripts
|
||||
description: Supporting scripts
|
||||
version: 0.0.1
|
||||
homepage: https://breez.technology
|
||||
repository: https://github.com/breez-sdk/breez-sdk-liquid
|
||||
repository: https://github.com/breez/breez-liquid-sdk
|
||||
publish_to: none
|
||||
|
||||
environment:
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
<body>
|
||||
<div class="container py-3">
|
||||
<h1 class="text-center mb-3">breez-sdk-liquid</h1>
|
||||
<h1 class="text-center mb-3">breez-liquid-sdk</h1>
|
||||
<p class="mono text-center">
|
||||
View documentation for:
|
||||
</p>
|
||||
|
||||
79
lib/flutter/packages/flutter_breez_liquid/example/.idea/workspace.xml
generated
Normal file
79
lib/flutter/packages/flutter_breez_liquid/example/.idea/workspace.xml
generated
Normal file
@@ -0,0 +1,79 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="AutoImportSettings">
|
||||
<option name="autoReloadType" value="NONE" />
|
||||
</component>
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="9eb58374-5fbf-46cd-9743-456c0841d403" name="Changes" comment="">
|
||||
<change beforePath="$PROJECT_DIR$/../../../../bindings/bindings-flutter/dartdoc_options.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/../../../../bindings/bindings-flutter/dartdoc_options.yaml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../../../bindings/bindings-flutter/melos.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/../../../../bindings/bindings-flutter/melos.yaml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../../../bindings/bindings-flutter/packages/breez_liquid/pubspec.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/../../../../bindings/bindings-flutter/packages/breez_liquid/pubspec.yaml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../../../bindings/bindings-flutter/packages/flutter_breez_liquid/android/CMakeLists.txt" beforeDir="false" afterPath="$PROJECT_DIR$/../../../../bindings/bindings-flutter/packages/flutter_breez_liquid/android/CMakeLists.txt" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../../../bindings/bindings-flutter/packages/flutter_breez_liquid/ios/Classes/breez_liquid_sdk.h" beforeDir="false" afterPath="$PROJECT_DIR$/../../../../bindings/bindings-flutter/packages/flutter_breez_liquid/ios/Classes/breez_liquid_sdk.h" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../../../bindings/bindings-flutter/packages/flutter_breez_liquid/ios/flutter_breez_liquid.podspec" beforeDir="false" afterPath="$PROJECT_DIR$/../../../../bindings/bindings-flutter/packages/flutter_breez_liquid/ios/flutter_breez_liquid.podspec" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../../../bindings/bindings-flutter/packages/flutter_breez_liquid/linux/CMakeLists.txt" beforeDir="false" afterPath="$PROJECT_DIR$/../../../../bindings/bindings-flutter/packages/flutter_breez_liquid/linux/CMakeLists.txt" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../../../bindings/bindings-flutter/packages/flutter_breez_liquid/macos/Classes/breez_liquid_sdk.h" beforeDir="false" afterPath="$PROJECT_DIR$/../../../../bindings/bindings-flutter/packages/flutter_breez_liquid/macos/Classes/breez_liquid_sdk.h" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../../../bindings/bindings-flutter/packages/flutter_breez_liquid/macos/flutter_breez_liquid.podspec" beforeDir="false" afterPath="$PROJECT_DIR$/../../../../bindings/bindings-flutter/packages/flutter_breez_liquid/macos/flutter_breez_liquid.podspec" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../../../bindings/bindings-flutter/packages/flutter_breez_liquid/pubspec.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/../../../../bindings/bindings-flutter/packages/flutter_breez_liquid/pubspec.yaml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../../../bindings/bindings-flutter/packages/flutter_breez_liquid/windows/CMakeLists.txt" beforeDir="false" afterPath="$PROJECT_DIR$/../../../../bindings/bindings-flutter/packages/flutter_breez_liquid/windows/CMakeLists.txt" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../../../bindings/bindings-flutter/pubspec.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/../../../../bindings/bindings-flutter/pubspec.yaml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../../../bindings/bindings-flutter/scripts/pubspec.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/../../../../bindings/bindings-flutter/scripts/pubspec.yaml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/../../../../bindings/bindings-flutter/website/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/../../../../bindings/bindings-flutter/website/index.html" afterDir="false" />
|
||||
</list>
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
||||
<option name="LAST_RESOLUTION" value="IGNORE" />
|
||||
</component>
|
||||
<component name="Git.Settings">
|
||||
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/../../../../.." />
|
||||
</component>
|
||||
<component name="MarkdownSettingsMigration">
|
||||
<option name="stateVersion" value="1" />
|
||||
</component>
|
||||
<component name="ProjectId" id="2fxCqqFWtHTrxOnTAOcojGrzMaA" />
|
||||
<component name="ProjectLevelVcsManager" settingsEditedManually="true" />
|
||||
<component name="ProjectViewState">
|
||||
<option name="hideEmptyMiddlePackages" value="true" />
|
||||
<option name="showLibraryContents" value="true" />
|
||||
</component>
|
||||
<component name="PropertiesComponent"><![CDATA[{
|
||||
"keyToString": {
|
||||
"RunOnceActivity.OpenProjectViewOnStart": "true",
|
||||
"RunOnceActivity.ShowReadmeOnStart": "true",
|
||||
"RunOnceActivity.cidr.known.project.marker": "true",
|
||||
"cidr.known.project.marker": "true",
|
||||
"dart.analysis.tool.window.visible": "false",
|
||||
"last_opened_file_path": "/Users/erdem/Documents/GitHub/breez-sdk-liquid/lib/flutter/packages/flutter_breez_liquid/example",
|
||||
"show.migrate.to.gradle.popup": "false"
|
||||
}
|
||||
}]]></component>
|
||||
<component name="RunManager">
|
||||
<configuration name="main.dart" type="FlutterRunConfigurationType" factoryName="Flutter">
|
||||
<option name="filePath" value="$PROJECT_DIR$/lib/main.dart" />
|
||||
<method v="2" />
|
||||
</configuration>
|
||||
</component>
|
||||
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
|
||||
<component name="TaskManager">
|
||||
<task active="true" id="Default" summary="Default task">
|
||||
<changelist id="9eb58374-5fbf-46cd-9743-456c0841d403" name="Changes" comment="" />
|
||||
<created>1714733535512</created>
|
||||
<option name="number" value="Default" />
|
||||
<option name="presentableId" value="Default" />
|
||||
<updated>1714733535512</updated>
|
||||
</task>
|
||||
<servers />
|
||||
</component>
|
||||
<component name="Vcs.Log.Tabs.Properties">
|
||||
<option name="TAB_STATES">
|
||||
<map>
|
||||
<entry key="MAIN">
|
||||
<value>
|
||||
<State />
|
||||
</value>
|
||||
</entry>
|
||||
</map>
|
||||
</option>
|
||||
</component>
|
||||
</project>
|
||||
Reference in New Issue
Block a user