Skip to main content

Veramo Core

Provides Agent implementation

Classes

ClassDescription
Agent

Provides a common context for all plugin methods.

This is the main entry point into the API of Veramo. When plugins are installed, they extend the API of the agent and the methods they provide can all use the common context so that plugins can build on top of each other and create a richer experience.

ValidationError

Represents a Schema validation error.

This can occur when a method of the agent is invoked with certain parameters or the returned value doesn't match the declared plugin schema.

Functions

FunctionDescription
createAgent(options)Helper function to create a new instance of the Agent class with correct type