amark / gun

An open source cybersecurity protocol for syncing decentralized graph data.
https://gun.eco/docs
Other
18.05k stars 1.16k forks source link

A big suggestion for the future development of gun.js #1211

Closed yingshaoxo closed 2 years ago

yingshaoxo commented 2 years ago

Use ipfs as the base for everything.

If you look at orbitdb, you see that they are using ipfs as the base for everything, so it could be a total decentralized solution:

  const ipfs = await IPFS.create()
  const orbitdb = await OrbitDB.createInstance(ipfs)

https://github.com/orbitdb/orbit-db#module-with-ipfs-instance


I say this because orbit has a bad part, which is it doesn't have an account system while gun.js has.

amark commented 2 years ago

IPFS too slow, and GUN is already p2p and lets you rebuild your own IPFS in a few lines of code: https://gun.eco/docs/Content-Addressing