3 ms·
Awesome idea! What are you building it with, then? Yes, IndexedDB has a Level down adapter which should work with GUN's Level up adapter: https://github.com/Ps
by marknadal 10y ago
Awesome idea! What are you building it with, then?
Yes, IndexedDB has a Level down adapter which should work with GUN's Level up adapter: https://github.com/PsychoLlama/gun-level https://github.com/PsychoLlama/gun-level (or however the naming works). I don't actually know how to do this though, so ping Jesse (psychollama) if you have any problems.
The best repo is a barebones P2P encrypted auth example using polymer (not electron or react native): https://github.com/swifty/gun-p2p-auth https://github.com/swifty/gun-p2p-auth , git clone it, then open ./demo/standalone.html and try the login/register forms after you run a gun server (npm install gun, cd ./node_modules/gun , node examples/http.js 8081).
Let me know if this worked. If you got stuck on anything absolutely let me know so I can help. :)
- philippnagel 10y agoGreat, thanks! Currently building the app on top of http://ssbc.github.io/scuttlebot/ http://ssbc.github.io/scuttlebot/.