Files: 254c89b83aef67583e5b1b6f6cd5fdba4fb0b493 / tmpl / docs / social / create-new-users.md
500 bytesRaw
Create new users
By default, Scuttlebot uses a "master" identity/feed, which sbot.publish()
will append new messages to.
If you want to manipulate additional feeds, you can load the keypair and then use this library to do so.
var ssbFeed = require('ssb-feed')
var ssbKeys = require('ssb-keys')
// create the new feed
var alice = ssbFeed(sbot, ssbKeys.generate())
// Post to alice's feed
alice.publish({
type: 'post',
text: 'hello world, I am alice.'
}, function (err) { ... })
Built with git-ssb-web