Installing the SDK
The Breez SDK is available in the following platforms:
iOS/Swift
We support integration via the Swift Package Manager and via CocoaPods. See breez/breez-sdk-liquid-swift for more information.
Swift Package Manager
Installation via Xcode
Via File > Add Packages...
, add
https://github.com/breez/breez-sdk-liquid-swift.git
as a package dependency in Xcode.
Installation via Swift Package Manifest
Add the following to the dependencies array of your Package.swift
:
.package(url: "https://github.com/breez/breez-sdk-liquid-swift.git", from: "<version>"),
CocoaPods
Add the Breez SDK to your Podfile
like so:
target '<YourApp' do
use_frameworks!
pod 'BreezSDKLiquid'
end
Android/Kotlin
We recommend integrating the Breez SDK as Gradle dependency from our Maven repository.
To do so, add the following to your Gradle dependencies:
repositories {
maven {
url("https://mvn.breez.technology/releases")
}
}
dependencies {
implementation("breez_sdk_liquid:bindings-android:<version>")
}
React Native
We recommend using the official npm package: @breeztech/react-native-breez-sdk-liquid.
npm install @breeztech/react-native-breez-sdk-liquid
or
yarn add @breeztech/react-native-breez-sdk-liquid
Go
We recommend using our official Go package: breez/breez-sdk-liquid-go.
go get github.com/breez/breez-sdk-liquid-go
C#
We recommend using our official C# package: Breez.Sdk.Liquid.
dotnet add package Breez.Sdk.Liquid
Rust
We recommend to add breez sdk as a git dependency with a specific release tag. Check https://github.com/breez/breez-sdk-liquid/releases for the latest version.
[dependencies]
breez-sdk-liquid = { git = "https://github.com/breez/breez-sdk-liquid", tag = "0.5.0-rc1" }
[patch.crates-io]
secp256k1-zkp = {git = "https://github.com/sanket1729/rust-secp256k1-zkp.git", rev = "60e631c24588a0c9e271badd61959294848c665d"}
Flutter/Dart
We recommend to add our official flutter package as a git dependency.
dependencies:
breez_liquid:
git:
url: https://github.com/breez/breez-sdk-liquid-dart
flutter_breez_liquid:
git:
url: https://github.com/breez/breez-sdk-liquid-flutter
rxdart: ^0.28.0
Python
We recommend using our official Python package: breez_sdk_liquid.
pip install breez_sdk_liquid
You can also check out some examples using the Python Breez SDK package.