Fireblocks NCW SDK bridge for React Native
npm install @fireblocks/react-native-ncw-sdk
Add the Maven repository and SDK dependency to your app as described here
- Edit the following line to your app's
Podfile
post_install do |installer|
$RNNCWSDK.post_install(installer) # <--- add this line
- Install pod dependencies:
cd ios && bundle exec pod install
-
Open your project's workspace in Xcode
-
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
import { FireblocksNCWFactory } from '@fireblocks/react-native-ncw-sdk';
// ...
const fireblocksNCW = await FireblocksNCWFactory({
env: "sandbox", // or "production" etc
logLevel: "INFO",
deviceId,
messagesHandler,
eventsHandler,
secureStorageProvider,
});
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library