pull down to refresh

Hi folks!
Sharing @dangeross' workshop on how to add Lightning payments with the Breez SDK - Nodeless.
Enjoy ⚡️

Breez SDK - Nodeless: Flutter Workshop

This workshop demonstrates how to integrate Lightning payments into a Flutter application with the Breez SDK - Nodeless. The workshop starts with a UI with some dialogs. Step-by-step we will take you through the simple process of integrating Lightning payments.
In order to follow this workshop, follow the steps below — each step in the workflow has it's own branch. You either paste in the code, or go to the next step. At each step, we explain what the new code is doing.

Prerequisites

  • Flutter 3.22.0 installed
  • Android studio or Xcode installed
  • An Android emulator or iOS simulator running
  • A valid breez API key set in lib/constants.dart

Step-by-Step Video Tutorial

Head on over to Breez's YouTube channel to watch us integrate self-custodial bitcoin payments into our demo app.
Is there a react native version of this?
reply
We don't have a react native video tutorial yet — that's coming soon — but @carloschida used React Native to build Yopaki (they integrated Lightning with the Breez SDK - Nodeless).
We're also happy to answer any questions you might have too (@dangeross).
reply
I’m the CTO and Co-Founder. Also a big fan of Breez.
We build with RN on Expo. Since SDK 51 there’s no need for any additional bridges or the fortunately now outdated and dreaded ‘eject’ to use Breez.
If you want general tips on how to do it, happy to share more with you next week — this week it’s a bit hectic for me.
reply
Thank you @carloschida . I am just starting to learn React Native, coming from a react background. Any tips on getting started, sorry for being vague. Like to integrate lightning/bitcoin into apps so will have to play with Breez I believe.
reply
Don’t go for the bare RN path. They themselves now promote the use of metaframeworks, eg Expo.
Always keep up with dependencies with expo doctor and renovatebot. The ecosystem is ever changing (a bit of pain to be honest) and investing 5% of your time bringing everything up-to-date is more worth it here than in web React. Particularly because the RN ecosystem, meta in particular, are allergic to SemVer.
reply
@spraveenitpro - feel free to reach out to the team or join the Breez SDK Telegram Channel to ask any questions you may have!
reply
21 sats \ 1 reply \ @Rsync25 27 Nov
⚡️⚡️
reply
🫡
reply
You can head over to @dangeross' repo for all the workshop collateral: https://github.com/dangeross/breez-sdk-nodeless-flutter-workshop/
reply