orbitdb-demo

command
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Command orbitdb-demo is a small interactive OrbitDB peer. Run one to create a database, then run a second one with --peer and --db set to what the first printed, and watch writes replicate both ways.

go run ./cmd/orbitdb-demo --dir /tmp/a
go run ./cmd/orbitdb-demo --dir /tmp/b --peer <multiaddr> --db <address>

The databases are interoperable with @orbitdb/core 4, so the second peer can just as well be a JavaScript one.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址