How do you export a class from a web module?

Hi Miguel,

Thank you for this and you answer, in relation to security could I pass the public.js file into a backend web module? could I then call the function from their?

The solution you have provided I feel will help and I just have to adapt some of the code, I am now looking at the http-functions and trying to wrap my head around these and re-write some code as I can use these instead of creating a express or socket.io server, however this may then mean that there is a need for a centralised chain rather than a decentralised one all be it everyone will have access to the data collection and the chain.

best wishes,

Si