A command line interface that allows you to interact with the Ceramic protocol.
To install the ceramic cli globally you can run:
$ npm install -g @ceramicnetwork/cli
To get an overview of the available commands run:
$ ceramic -h
To start an instance of the Ceramic daemon, make sure you have ipfs running locally and execute:
$ ceramic daemon
ceramic user did
Show the DID of the user.
ceramic user sign <payload>
Ask the user to sign a given payload.
ceramic user encrypt <payload>
Ask the user to encrypt a given payload.
ceramic user decrypt <JWE | CWE>
Ask the user to decrypt a given JWE or CWE.
We are happy to accept small and large contributions. Make sure to check out the Ceramic specifications for details of how the protocol works.
Create an IPFS instance
Generic error handling middleware for the daemon.
Prepare DID resolvers to use in the daemon.
Takes a query object and parses the values to give them proper types instead of having everything as strings
Converts 'sync' option sent as a bool by outdated http-clients to the current format of an enum. The old behaviors don't map directly to the new behaviors, so we take the best approximation. TODO remove this once we no longer need to support clients older than v1.0.0