All Projects → av8ta → ssb-minimal

av8ta / ssb-minimal

Licence: MIT license
A minimal way to get started talking to ssb on a testnet in node

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to ssb-minimal

Credits
Credits(CRDS) - An Evolving Currency For An Evolving Society
Stars: ✭ 14 (+0%)
Mutual labels:  decentralised
decent-visualizer
A visualizer for .shot files
Stars: ✭ 46 (+228.57%)
Mutual labels:  decent
bound
Data-binding made easy
Stars: ✭ 21 (+50%)
Mutual labels:  decent
padawan-wallet
The bitcoin wallet trainer on Android.
Stars: ✭ 31 (+121.43%)
Mutual labels:  testnet
scripts
StakePool Operator Scripts. Learn how to create and manage your StakePool with these simple scripts. Hardware-Ledger Support, Token/Asset Sending, Offline-Mode and more...
Stars: ✭ 200 (+1328.57%)
Mutual labels:  testnet
freewallet-mobile
Mobile wallet for iOS/Android/Browser which supports Bitcoin and Counterparty
Stars: ✭ 51 (+264.29%)
Mutual labels:  testnet
morpheus
Red pill or blue pill? - A collection of Desmos testnets
Stars: ✭ 22 (+57.14%)
Mutual labels:  testnet
testnets
Stargaze testnets
Stars: ✭ 43 (+207.14%)
Mutual labels:  testnet
smrepl
A Spacemesh Terminal wallet app
Stars: ✭ 16 (+14.29%)
Mutual labels:  testnet
Docker-Ethereum-Testnet
🌐 Easily deploy a scaleable Ethereum Testnet using Docker
Stars: ✭ 45 (+221.43%)
Mutual labels:  testnet
frontend
testnet.exchange frontend
Stars: ✭ 18 (+28.57%)
Mutual labels:  testnet
local-testnet
A local testnet of go-spacemesh full nodes running the Spacemesh protocol and a functional CLI wallet. 💾⏰
Stars: ✭ 13 (-7.14%)
Mutual labels:  testnet
testnet.backend
Backend for a ViaBTC exchange server (trading engine)
Stars: ✭ 18 (+28.57%)
Mutual labels:  testnet
blockchain c2c
A Proof of Concept to show how blockchain can solve C2C persistence. PoC originally presented at EuskalHack Security Congress 2017, updated and improved for Cybercamp 2017.
Stars: ✭ 21 (+50%)
Mutual labels:  testnet
Ssb Server
The gossip and replication server for Secure Scuttlebutt - a distributed social network
Stars: ✭ 1,553 (+10992.86%)
Mutual labels:  scuttlebot
journal
a blogging platform built on [matrix]
Stars: ✭ 71 (+407.14%)
Mutual labels:  decentralised

ssb-minimal

A minimal way to get started talking to ssb on a testnet. Assumes you have already installed sbot globally to develop with.

Create a .ssb-test folder alongside your .ssb folder in HOME

Create a config file (no file extension) with:

{
  "caps": {
    "shs": "MVZDyNf1TrZuGv3W5Dpef0vaITW1UqOUO3aWLNBp+7A=",
    "sign": "qym3eJKBjm0E0OIjuh3O1VX8+lLVSGV2p5UzrMStHTs="
  },
  "port": 8007,
  "ws": {
    "port": 8988
  },
  "ssb_appname": "ssb-test",
  "plugins": {
    "ssb-about": true,
    "ssb-backlinks": true,
    "ssb-fulltext": true
  }
}

shs and sign are the keys I'm using for a testnet. By setting sign, the network can not be linked to the mainnet. Setting sign to null means your network could 'join' or 'leak' to the mainnet, depending on how you perceive that!

Terminal: set ssb_appname env variable. Make sure each terminal you use has the environment variable set

powershell

$env:ssb_appname="ssb-test"

bash

set ssb_appname="ssb-test"

Ensure you have those plugins installed to your sbot. If they are not installed already, do this:

sbot plugins.install ssb-about
sbot plugins.install ssb-backlinks
sbot plugins.install ssb-fulltext

Different terminal:

sbot server

npm start

To see your message:

sbot createLogStream

All going well you should see something like this:

{
  "key": "%O+Begs/8ayYUCmr6BzXB4SXttyLq3j6viuyRiwlbzL4=.sha256",
  "value": {
    "previous": "%NamYZ9YBc8cw5TlP6fQmO/XDey4sPE3c+QMS2TUIVJk=.sha256",
    "author": "@32eYi2kQTUrEcbXI9MD7fjU+oXIQ+jELRLTVCwj9Rrg=.ed25519",
    "sequence": 4,
    "timestamp": 1509695433805,
    "hash": "sha256",
    "content": {
      "type": "post",
      "text": "Hello scuttlers!"
    },
    "signature": "2zHW23M6fupHE+RCDIKBA0TCv5Ft07XqtVc7zBeST/kjsQ2sptJ012tvrj+sBiYG8O3HRkebEeWJC/Jf5EU3Ag==.sig.ed25519"
  },
  "timestamp": 1509695433806
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].