aleph-im / aleph-account

Aleph.im's Account management dApp
https://account.aleph.im/
2 stars 3 forks source link

Websocket connections to third party server for IPFS #80

Open hoh opened 1 year ago

hoh commented 1 year ago

aleph-client connects to the following servers: image

Example: GET wss://node0.preload.ipfs.io/p2p/QmZMxNdpMkewiVZLMRxaNxUeZpDUb34pWjZ1kZvsd16Zic

Should it connect to IPFS nodes from the Aleph network instead ?

BjrInt commented 1 year ago

This is the default behavior when initiating an IPFS instance. There is not much added value to connect to Aleph IPFS nodes imo, but this could be done by passing the multiaddr of the Node as a parameter here: https://github.com/aleph-im/aleph-account/blob/main/src/boot/ipfs.js#L7