payjoin_flutter

Last updated:

0 purchases

payjoin_flutter Image
payjoin_flutter Images
Add to Cart

Description:

payjoin flutter

Payjoin Flutter #
A Flutter library for the Payjoin Dev Kit.
How to Use #
To use the payjoin_flutter package in your project, add it as a dependency in your project's pubspec.yaml:
dependencies:
payjoin_flutter: 0.20.0
copied to clipboard
Requirements #

Flutter : 3.0 or higher
Android minSdkVersion. : API 23 or higher.
Deployment target : iOS 12.0 or greater.

Build and run code #
First we need to set up the bitcoin core and esplora locally in the regtest network. If you don't
have these, please refer to this page. Or you can
install Nigiri Bitcoin, which is a tool designed to simplify the process of running local instances of Bitcoin and
Liquid networks for development and testing purposes. You can refer to
this link, to install it on your local machine.
Once the nigiri bitcoin starts running, you need to mine a few blocks. Please refer to the following link
on how to mine blocks.
Running the integration tests #
Once we have set up the Bitcoin core properly in the Regtest network,
git clone https://github.com/LtbLightning/payjoin-flutter.git
cd payjoin-flutter

cd example
#Run integration tests with bitcoin_core and bdk_flutter
flutter test integration_test
copied to clipboard
References #
Payjoin Dev Kit
mozilla/uniffi-rs
Release Status and Disclaimer #
This project is in active development and currently in its Alpha stage. Please proceed with caution, particularly when using real funds.
We encourage thorough review, testing, and contributions to help improve its stability and security before considering production use.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.