-
Scuttlebot peer-to-peer log store
-
Secure Scuttlebutt - Scuttlebot
Scuttlebot
Secure Scuttlebutt is a database protocol for unforgeable append-only message feeds.
"Unforgeable" means that only the owner of a feed can update that feed, as enforced by digital si...
-
Publish a message - Scuttlebot
Scuttlebot
Use this command to publish your first message:
bash
sbot.publish({
type: 'post',
text: 'Hello, world!'
}, function (err, msg) {
// 'msg' includes the hash-id and headers
...
-
Configure Scuttlebot - Scuttlebot
Scuttlebot
~/.ssb directory.
~/.ssb/config, which is a JSON file:
{
"host": "",
"port": 8008,
"timeout": 30000,
"pub": true,
"local": true,
"friends": {
"dunbar": 150,
"hops": 3
...
-
Open a client - Scuttlebot
Scuttlebot
If you're using Scuttlebot from a JS application, you will need to open a client connection.
If you're using the command-line, you can skip this step.
js
var ssbClient = require('ssb-client...
-
Encryption - Scuttlebot
Scuttlebot
Instead, Scuttlebot uses end-to-end encryption.
This is exposed in the JS-only Scuttlebot.Private API.
Publish an Encrypted Message
Private publishing works just like the usual publish meth...