The reference implementation lives at github.com/l1felabs/mars. It's a single Rust binary backed by Postgres for entries and a Weave DHT endpoint for byte storage.
Build
git clone https://github.com/l1felabs/mars
cd mars
cargo build --release -p mars-server
Configure
mars-config.toml:
[server]
bind = "0.0.0.0:7780"
registry_did = "did:oas:yourorg:registry:internal"
[database]
url = "postgres://mars:secret@localhost/mars"
[weave]
endpoints = ["https://weave-dht.l1fe.ai"]
[anchor]
sigil_rpc = "https://sigil-rpc.l1fe.ai"
signing_key_path = "/etc/mars/registry.key"
Run
./target/release/mars-server --config mars-config.toml
Verify with:
curl http://localhost:7780/v1/health
# { "status": "ok", "version": "1.0.0", "registryDid": "did:oas:yourorg:registry:internal" }
Federate
See Federate with Reggie.