aerx-dev / aerx-frontend-clean

https://aerx-2.vercel.app/
0 stars 0 forks source link

Add infura IPFS gateway 🐈‍⬛ #86

Open 3lLobo opened 2 years ago

3lLobo commented 2 years ago

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.

code-z2 commented 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.