$ npm install autobase-discovery-cliCLI for Autobase Discovery
npm i autobase-discovery-cli
autodiscovery run <rpc-allowed-public-key>
Where rpc-allowed-public-key is the public key corresponding to the clients' seed (see the 'Security' section in autobase-discovery).
The RPC server's public key and the database key will be printed.
Logs are in pino's JSON format. Pipe them to pino-pretty for a human-readable format (autodiscovery run | pino-pretty)
Note that the database key is updated every time a new indexer is processed. In particular, you should add at least one entry to the database to stabilise the database key for the initial indexer.
Run autodsicovery-client --help to see all commands.
Example:
autodiscovery-client list <autodiscovery database key> <service-name>