It's been a bit of a journey learning #rust and #veilid and #iroh but these last few functions were very satisfying to write. This code triggers a download of an Iroh-blobs based file from it's hash by establishing tunnels to peers in a group using a multiplexer I built using Veilid AppMessages over private routes. The code to get here was hella messy but these functions felt pretty elegant.
The project itself has been a team effort and I'm thankful for help from my teammates at Hypha + various folks on the interwebs. Hopefully we can stabilize and document this stuff this month so we can show a full demo.