Skip to content

Network Services

Program Role
transport Relay for events between services
witness Verifies and receipts key events
watcher Observes identities and reports conflicts
wallet Holds private keys outside the node
kerictl bootstrap, healthcheck, check

Multi-tenant witnesses and watchers, and notaries, are separate services and work with the same identities.

Witness

Method and path Purpose
POST /v1/events Submit an event with signatures
POST /v1/receipts Submit receipts of other witnesses
GET /v1/kel/{aid}?nonce=&from= Sealed key event log
GET /v1/info Identifier

Watcher

Method and path Purpose
GET /v1/identity/{aid}?nonce= Sealed state, conflict and alerts
GET /v1/credentials/{said}?nonce= Sealed credential status
GET /v1/kel/{aid}, /v1/alerts/{aid}, /v1/evidence/{aid} Data
POST /v1/status Submit a signed status reference

Wallet

Endpoints need Authorization: Bearer <WALLET_TOKEN>.

Method and path Purpose
POST /v1/keys Create a key. Returns public
POST /v1/sign Sign: public, message (Base64). Returns signature

Keys are encrypted with AES-GCM under a key derived from WALLET_PASSPHRASE.

kerictl

kerictl bootstrap -out DIR [-witnesses 4] [-watchers 2] creates keys and network.json. check reads events as JSON lines and prints ok or the reason they are rejected.

Transport events

Kind Content
4001 Key event
4002 Receipt
4003 Credential
4004 Credential status event
4005 Evidence reference
4007 Service descriptor
4008 DIDComm envelope