Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 524 Bytes

File metadata and controls

21 lines (14 loc) · 524 Bytes

CoolWallet React-Native-ble Transport

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

Install

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

Usage

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

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