0.1.2 • Published 1 year ago

@cryptafriq/react-native-crypto-wallet-sdk v0.1.2

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Crypto Wallet SDK

A React Native SDK for integrating cryptocurrency wallet functionality into your mobile apps. This SDK provides a seamless way to handle crypto transactions and wallet management in React Native applications.

Features

  • Easy integration with React Native apps
  • Secure cryptocurrency transactions with industry-standard encryption
  • Customizable UI components that match your app's design
  • Callback URL support for real-time transaction notifications
  • WebView-based secure interface
  • Support for BEP20 tokens on Binance Smart Chain
  • Simple API key authentication

Installation

Using npm

npm install @cryptafriq/react-native-crypto-wallet-sdk

Using yarn

yarn add @cryptafriq/react-native-crypto-wallet-sdk

One more thing

To front load the installation work, let's also install and configure dependencies used by this project, being react-native-webview

run the following command in your project

npm install react-native-webview

or

yarn add react-native-webview

navigate to your iOS folder and run the following command:

cd iOS && pod install && cd ..

for expo applications run:

expo install react-native-webview

Usage

import { CryptoWallet } from 'react-native-crypto-wallet-sdk';

// ...

<CryptoWallet
    apiKey=''
    customerEmail='customer@exapmle.com'
    callbackUrl='https://example.com'
    businessName="business name"
    bussinessLogo="logo url"
/>