Skip to content

vulpemventures/react-native-gdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.