amark / gun

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

chain fork #1247

Closed bmatusiak closed 2 years ago

bmatusiak commented 2 years ago

useage

var gun = new Gun();
var fork = gun.fork().wire();
fork.user().auth(pair);

or

var gun1 = new Gun();
var gun2 = new Gun();
gun2.fork(gun.fork());
gun2.user().auth(pair);
amark commented 2 years ago

@bmatusiak brilliant! Can we put it in lib/fork.js as candidate & promote it in docs, and see how many people use it? Then if it is considered vital, we move it into core. My guess is that this is a great feature, but not something that needs to be bundled from the start and so is better its own separately loaded module.

bmatusiak commented 2 years ago

@amark like this?

amark commented 2 years ago

🔥 ⚡ 🎉 🌟 🔥 ⚡ 🎉 🌟 🔥 ⚡ 🎉 🌟 🔥 ⚡ 🎉 🌟 THANK YOU!!! Awesome. Merging. This is epic.