Skip to content

fireblocks/react-native-ncw-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Note: As of August 2025, the React Native SDK is deprecated. It is no longer supported and maintained by Fireblocks.

You can choose to use this code as reference if you wish, yet there is no guarantee the packages used are updated and will work as suggested.

@fireblocks/react-native-ncw-sdk

Fireblocks NCW SDK bridge for React Native

Installation

npm install @fireblocks/react-native-ncw-sdk

Android additional setup

Add the Maven repository and SDK dependency to your app as described here

iOS additional setup

  1. Edit the following line to your app's Podfile
  post_install do |installer|
    $RNNCWSDK.post_install(installer) # <--- add this line
  1. Install pod dependencies:
cd ios && bundle exec pod install
  1. Open your project's workspace in Xcode

  2. Add Fireblocks SDK Swift Package as described here, or:

File > Add Package Dependecies... > https://github.com/fireblocks/ncw-ios-sdk > Add Package > Add to Target: "Your Project" > Add Package

Usage

import { FireblocksNCWFactory } from '@fireblocks/react-native-ncw-sdk';

// ...

const fireblocksNCW = await FireblocksNCWFactory({
    env: "sandbox", // or "production" etc
    logLevel: "INFO",
    deviceId,
    messagesHandler,
    eventsHandler,
    secureStorageProvider,
});

Example

Example Project

Contributing

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

License

MIT


Made with create-react-native-library