Skip to content

Blade-Labs/react-native-blade-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React-native-blade-sdk

Blade SDK for React Native (limited functionality).

This SDK is a bridge between React Native and Swift Blade SDK or Kotlin Blade SDK. For now, it supports only basic functionality. In near future it will repeat all functionality of native SDKs.

Getting Started

Requirements

  • Node.js 16.x or higher (MacOS/Linux)
  • Node.js 16.x to 18.x (Windows)

Install

npm i @bladelabs/react-native-blade-sdk

Usage

import BladeSdk, { BladeEnv, Network } from '@bladelabs/react-native-blade-sdk';

// ...

const apiKey = 'reactsdktest';
const dAppCode = 'FG9dUBQcBaBAPgCHz7DqmNZzrJyhewAMJytjwp3VFIEMFTXQyVSIDq6wRvtPcSAt';

const initResult = await BladeSdk.initialize(apiKey, dAppCode, Network.Testnet, BladeEnv.Prod, true);

const balanceResult = await BladeSdk.getBalance("0.0.10001");
console.log('getBalance:', balanceResult);

Documentation

React-native-blade-sdk documentation.

For more information, please check our Blade SDK Portal

About

No description, website, or topics provided.

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
license.md

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •