mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2026-01-04 14:54:21 +01:00
* 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
Breez Liquid SDK plugin
Table of contents
Description
This is a Flutter package that wraps the Dart bindings of Breez Liquid SDK.
Installation
To use this plugin, add breez_liquid_sdk as a dependency in your pubspec.yaml file.
Usage
To start using this package first import it in your Dart file.
import 'package:flutter_breez_liquid/flutter_breez_liquid.dart';
Call initialize() to initialize Breez Liquid SDK, preferably on main.dart:
import 'package:flutter_breez_liquid/flutter_breez_liquid.dart' as liquid_sdk;
void main() async {
// Initialize library
await liquid_sdk.initialize();
}
Please refer to Dart examples on Breez Liquid SDK documentation for more information on features & capabilities of the Breez Liquid SDK.