Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarification - Decentralized Service Workers #7

Open
bitnom opened this issue May 14, 2019 · 1 comment
Open

Clarification - Decentralized Service Workers #7

bitnom opened this issue May 14, 2019 · 1 comment

Comments

@bitnom
Copy link

bitnom commented May 14, 2019

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

@bitnom bitnom changed the title Clarification Clarification - Decentralized Service Workers May 14, 2019
@arturgontijo
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants