0.0.1-beta.4 • Published 4 years ago

@coolwallets/transport-react-native-ble v0.0.1-beta.4

Weekly downloads
4
License
Apache-2.0
Repository
github
Last release
4 years ago

CoolWalletS React-Native-ble Transport

If you're building a React-Native App with CoolWalletS, this is the one you need to use as transport in other api.

Install

npm i @coolwallets/transport-react-native-ble

Usage

import RNBleTransport from '@coolwallets/transport-react-native-ble'
const transport =  RNBleTransport.connect(deviceOrId);

// use transport in other package:
import CoolWallet from '@coolwallets/wallet'
const wallet = new CoolWallet(transport, appPrivateKey, appId)