youaresoroman/react-ipfs

Using another provider.

Closed this issue · 3 comments

For ipfs now is veryslow sometime i can not load.
So this library can using another provider ?
Like : infura, or ipfsfile

if possible can let me how ?
Thanks you.

Infura offers Node as Service, so in react-ipfs implementation, it's not possible.
Suggest to add in your node config multi addresses of other nodes in ipfs network for faster loading. link for get info

const res = await ipfs.node.bootstrap.add(validIp4); console.log(res.Peers);

Sorry i can not using that implement. after i research i show some suggest is using https://www.pinata.cloud/ but i dont know how to implement with this library.
Thanks you.

Unfortunately, you can't connect with pinata directly. Pinata is the service not a public node. Only one thing i can suggest is to handle in you app file additions and then pinning it with Pinata. Please check their documentation