holochain icon indicating copy to clipboard operation
holochain copied to clipboard

ability to specify DNA by URL not path in install

Open zippy opened this issue 5 years ago • 3 comments

Currently when installing a hApp DNA is specified by path It would be really good if we could specify by URL and have holochain download it.

zippy avatar Oct 15 '20 11:10 zippy

Actually what we want to do is have holochain accept the bytes of the DNA directly, rather than have holochain fetch it from anywhere. The thing driving Holochain should be responsible for fetching and providing the DNA so that Holochain doesn't have to be concerned with those details.

maackle avatar Oct 15 '20 22:10 maackle

Created #421 to reflect this, closing this issue

maackle avatar Oct 15 '20 22:10 maackle

Reopening in light of the fact that browsers may have a hard time corralling billions of bytes over websocket

maackle avatar Oct 16 '20 17:10 maackle

This is supported when installing a happ or webhapp https://github.com/holochain/holochain/blob/develop/crates/mr_bundle/src/bundle.rs#L141. Closing as done

ThetaSinner avatar Mar 31 '23 14:03 ThetaSinner