UniversalDot / front-end

The latest front-end application
Apache License 2.0
0 stars 2 forks source link

IPFS integration #25

Open stojanov-igor opened 2 years ago

stojanov-igor commented 2 years ago

We have A Running IPFS node at Host: http://109.235.70.27 on port 5001

We can interact with this node through JS-HTTP-Client Library: https://github.com/ipfs/js-ipfs/tree/master/packages/ipfs-http-client

Integrate this Client library into the front end, and connect to the running IPFS node.

For example here how we can get its peers: curl -X POST http://109.235.70.27:5001/api/v0/swarm/peers

The available JS-API methods are shown here: https://docs.ipfs.io/reference/http/api/#getting-started

Definition of Done: