Readonly
_streamReadonly
adminReadonly
anchorReadonly
dispatcherReadonly
feedReadonly
loggerReadonly
repositoryGet DID. This should only be used if you need to interrogate the DID that was set for this
ceramic. For most instances, prefer signer
, as it has the necessary information for creating
and verifying signatures.
Sets the DID instance that will be used to author commits to streams. The DID instance also includes the DID Resolver that will be used to verify commits from others.
Get IPFS instance
Get the signer for this ceramic, used in creating and verifying signatures. This should be used
for all of those instances rather than did
, since the signer has any additional logic
related to creating and verifying signatures.
Finishes initialization and startup of a Ceramic instance. This usually should not be called
directly - most users will prefer to call Ceramic.create()
instead which calls this internally.
Controls whether we connect to the "peerlist" to manually perform IPFS peer discovery
Applies commit on a given stream
Stream ID
Commit to be applied
Initialization options
Turns +state+ into a Stream instance of the appropriate StreamType. Does not add the resulting instance to a cache.
StreamState for a stream.
Requests an anchor for the given StreamID if the Stream isn't already anchored. Returns the new AnchorStatus for the Stream.
used to load the current Stream state
Static
_processParses the given CeramicConfig
and generates the appropriate CeramicParameters
and
CeramicModules
from it. This usually should not be called directly - most users will prefer
to call Ceramic.create()
instead which calls this internally.
Static
createCreate Ceramic instance
IPFS instance
Ceramic configuration
Ceramic core implementation.
To install this library:
$ npm install --save @ceramicnetwork/core