Help sought porting a Nodejs package to Ionic

For the last couple of days I have been struggling with trying to port the bitcore-p2p node package to use in Ionic (my progress can be found here).

Currently I am using chrome-net on top of the cordova tcp plugins (cordova-plugin-chrome-apps-sockets-tcp and cordova-plugin-chrome-apps-sockets-tcpserver) to replace node’s net.

Although the TCP connection to one of the bitcoin peers seems to be established correctly, I receive no response on from the peer on sending messages. Could there be other node dependencies that are not browserfiable that cause this malfunction without raising any error’s? Also any advice on getting node packages to work in Ionic in general are much appreciated :slight_smile: