example-service
example-service copied to clipboard
Clarification - Decentralized Service Workers
So, if I have this right, you can create a service consumable by SingularityNET. A clean way is to use Docker containers but I'm guessing that isn't a 100% requirement. I'm still not entirely clear on this interaction but I do have a preliminary question: What about a decentralized service worker? Pyinstaller is a not-so-bad path to cross-platform. Shouldn't I be able to embed my service in my decentralized app?
I'm pretty sure I'll be able to but I just want to ask before-hand to make sure I'm not going to run into any problems along the way.
Thanks
Hey @TensorTom, yeah you should be able! In order to expose your service to the SingularityNET network, you'll need to provide the gRPC (protobuf file) API. An idea is to make an interface layer that will be the gRPC server and route the incoming requests to your application (service worker).
I'm not sure about your point on using pyinstaller...Could you please explain it?