@coolwallet/transport-react-native-ble

react-native ble transport layer for coolwallet.

Usage no npm install needed!

<script type="module">
  import coolwalletTransportReactNativeBle from 'https://cdn.skypack.dev/@coolwallet/transport-react-native-ble';
</script>

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)