React Native integration of Green Development Kit for Liquid Bitcoin.
- Made entirely using JSI (JavaScript Interface) for React Native.
- Currently using GDK Release 0.72.2
- GDK v0.72.2 Docs
npm install @vulpemventures/react-native-gdk
# or
yarn add @vulpemventures/react-native-gdk
# and then
cd ios && pod install
yarn add @vulpemventures/react-native-gdk
# and then
expo prebuild
import Gdk from "react-native-gdk"
// create the instance of your native module
const gdk = Gdk()
// make sure to call
gdk.init()
gdk.createSession()
// you are good to go!
gdk.generateMnemonic12()
See the contributing guide to learn how to contribute to the repository and the development workflow.