Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 936 Bytes

README.md

File metadata and controls

45 lines (36 loc) · 936 Bytes

react-native-gdk

React Native integration of Green Development Kit for Liquid Bitcoin.

  • Made entirely using JSI (JavaScript Interface) for React Native.
  • Currently using GDK Release 0.69.0

Installation

React Native

npm install @vulpemventures/react-native-gdk
# or
yarn add @vulpemventures/react-native-gdk
# and then
cd ios && pod install

Expo

yarn add @vulpemventures/react-native-gdk
# and then
expo prebuild

Usage

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()

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.