Getting Started
Environment#
IDX needs to access the Ceramic network using an implementation of the Ceramic API as exported by the @ceramicnetwork/common library.
Packages implementing this interface include @ceramicnetwork/core and @ceramicnetwork/http-client.
Alpha release
IDX is currently in alpha and may be unstable.
Installation#
There are two main libraries to use when building apps for IDX
IDX client library#
This library is used by apps to interact with Ceramic and IDX documents
IDX tools library#
This library contains tools for developers to help create the data models used by apps
Definitions and Schemas#
All Documents attached to the Identity Index need to use a Definition.
Once a public Ceramic network is running, the IDX library will provide a set of Definitions that can be used directly, but in the meantime these needs to be defined by developers using IDX.
To create a Defininition, a specific Schema needs to be used, and therefore must be present on the Ceramic node used by the IDX instance.
The idx-tools library can be used to easily publish schemas to the Ceramic node: