Is it safe to assume that just using hc run --networked
isn’t going to work, then? We’re still on 0.0.22-alpha1 right now, but might be willing to switch if the --networked
tag or something else works short term.
Yeah I don’t see how that is going to work given a lot of the networking development has not been pushed out yet. I imagine this will change over the next several months. I have asked someone else to test out hc run --networked. I am curious how far along are you with the front-end development? Front-end is important and I recommend people spend time designing an excellent UI/UX.
We’ll certainly share and provide progress updates over time. Holo Host is an app and it’s development does not impact networking. Different teams are working on networking and app development.
Will there be something like getConnectedPeers
that the Conductor exposes to instances? Similar to IPFS peers list, but per running instance
I’m interested in MapReduce functionality for distributed processing, which I believe could be built on this very easily with call
there is an n3h compatible conductor version that should provide basic networking
the maturity of that should be enough to unblock zome development and testing but not enough for “production” deployment
if that isn’t working, can we continue the thread over in the holonix discussion?
lib3h has not much to do with holo (other than holo obviously needs it to work as much as everyone else) - check out how it relates to the conductor builds here https://docs.holochain.love/docs/holochain/
the reason it stopped working is that the people working on the conductor want to roll weekly releases and the people working on the lib3h crate made changes to the messaging protocol between conductor/networking that n3h hasn’t been (and likely won’t be) updated to the new protocol
there are now some additional rust options in sim2h and sim1h that are in the latest conductor
Any updates on the status of lib3h?
Seconded! It’s great to see sim1h and sim2h, but I understand these are just for testing? We’ve got a p2p shim in our app right now for testing between machines, and we’d love to switch to using lib3h if it’s ready enough.
Hey @EzraWeller and @Brooks thanks for the inquiry.
@EzraWeller lib3h is not quite ready yet for apps.
We encourage you to bundle your App with Holoscape and this way you can test and check out sim2h. Try this approach and let us know how it turns out for you. Our core devs are committed to providing support for Holoscape if you try it and provide us feedback.
- Holoscape GitHub repo
- How to bundle your app for Holoscape
- We also recommend you adding your app to the hApp Index.
@EzraWeller is networking the most important piece for you right now?
Thanks, we’ll check that stuff out! Networking seems to be the most important thing that’s not already more or less working how we want it to, but we’re still in very early stages – other things are likely to come up
This is our project: https://www.github.com/setmatchgames/squad
Thanks @dhtnetwork , I was looking for a tutorial that shows all the steps required for bundling into holoscape, “How to bundle your app for Holoscape” seems to point to the wrong site. - Is that the correct link?
Hi Tom, a tutorial does not exist yet. The best place is the repo.
The link goes to an example bundle. Is the example enough for you? It looks like you posted in two places about this. The Holoscape thread is a good stop.
@dhtnetwork let me know if you’d like me to move this to another thread. Tagging some folks that may know the answer to this: @lucksus, @pauldaoust
I am in the midst of working on a proof of concept for networking a holochain app with a Flutter UI. I’m able to run two conductors on my machine and have the instances communicate, but whenever we try to run on separate machines, the instances aren’t communicating. It’s as though we are running our own private chains with no gossip.
I believe I’m missing something in my understanding of the networking, but perhaps the networking isn’t mature enough for this test?
Info:
- Both instances are running the same dna.json with the same hash.
- I’ve tried using the public sim2h server as well as n3h networking with the same result.
- All entries are public and retrievable by the instance that created them. (Not retrievable by another instance)
- I would use holoscape to try it out, but we don’t have a web UI, so we are doing this manually.
- I’m running the conductors in nix-shell,
holochain --version 0.0.38-alpha14, hc --version 0.0.38-alpha14.
Let me know if you need code samples.
Hi @J-Krush, just spoke with HC Core team about the general networking topic. I wanted to confirm that networking between two instances/separate machines should be working as of 0.0.40-alpha release. Have you tried that?
Please note that the HC Core team is working on the 0.0.41-alpha release. This should happen this week.
Thanks for the reply! I am just running the nix-shell, which defaults to 0.0.38. Should I manually install version 40?
I installed 0.0.40 via this command:
nix-shell https://github.com/holochain/holonix/archive/master.tar.gz
Will post results here after I test.
Great, let us know the outcome. Thank you
Very happy to report that networking between two devices/instances is operational on 0.0.40-alpha1 via the public sim2h server: wss://sim2h.holochain.org:9000
Woot!
Woot! Woot! Exciting, we love these kind of updates : ). Thank you for posting.