Open 3lLobo opened 2 years ago
Crust handles that for us. As long as we call placestorageorder after the file is uploaded to ipfs. Crust network takes over and makes sure the file is always available for use.
You can always use checkorderstatus to check the status of the file on crust.
Create a websocket on infura. https://infura.io/ This way we don't need to spin up a local ipfs node on the browser and files get hosted for little while before we pin or add them to crust. If we spin up a browser node the files disapear when the tab is closed. Option would be to have a server running an IPFS node 24/7 to host the files.