https://github.com/vulpemventures/react-native-gdk
https://github.com/vulpemventures/react-native-gdk
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/vulpemventures/react-native-gdk
- Owner: vulpemventures
- License: mit
- Created: 2024-02-02T09:05:12.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-15T13:33:34.000Z (over 1 year ago)
- Last Synced: 2025-06-30T15:57:02.840Z (12 months ago)
- Language: C++
- Size: 1.86 MB
- Stars: 2
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# react-native-gdk
React Native integration of [Green Development Kit](https://github.com/Blockstream/gdk) for Liquid Bitcoin.
* Made entirely using JSI (JavaScript Interface) for React Native.
* Currently using GDK [Release 0.72.2](https://github.com/Blockstream/gdk/releases/tag/release_0.72.2)
* GDK v0.72.2 [Docs](https://gdk.readthedocs.io/en/release_0.72.2/)
## Installation
React Native
```bash
npm install @vulpemventures/react-native-gdk
# or
yarn add @vulpemventures/react-native-gdk
# and then
cd ios && pod install
```
Expo
```bash
yarn add @vulpemventures/react-native-gdk
# and then
expo prebuild
```
## Usage
```js
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](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.