Electrum Protocol Client for React Native
- persistence (ping strategy and reconnection)
- batch requests
- works in RN and nodejs
Relies on react-native-tcp
so it should be already installed and linked in RN project. net
should be provided from outside, this library wont do require('net')
.
For RN it should be in shim.js
:
global.net = require('react-native-tcp');
For nodejs it should be provided before usage:
global.net = require('net');