@coolwallet/transport-react-native-ble
v0.1.0
Published
react-native ble transport layer for coolwallet.
Downloads
54
Readme
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)