For instance you might lookup a user's profile based upon their DID, their Ethereum account, or their Twitter handle; or you could lookup a user's Filecoin account based on their Polkadot account. We are dealing with The Chart on indexing these identity structures which will open up numerous new opportunities in this realm.
If you also require a way of keeping and handling user data, you have three main options. Use https://anotepad.com/notes/63fnirtp to directly save documents on the Ceramic Network and include references to those files in the user's index. For this choice, no extra software application is required; it works out of package with IDX.Store information in alternative information storage systems such as Filecoin, IPFS, Sia, Arweave, Fabric, Orbit, DB, Secure Data Stores, or Ethereum contracts and use IDX to add referrals to this information in your user's index.
This is true no matter where the information resides (servers or decentralized networks) or which application initially created the information. The identity index consists of mappings to various data sources, Share data across applications and silos, As described above, the crucial element of IDX that de-silos information, promotes interoperability, and allows user control is the identity index.
The identity index works as the info root for each user and makes everything discoverable. To even more promote interoperability, the identity index permits developers to: Publish schemas, names, and descriptions for information points they are including to the index, so others can more easily consume this information, Release endpoints for where this details can be found, whether a Doc, ID on Ceramic, a CID on IPFS/Filecoin, a contract on Ethereum, or an endpoint for a hosted service, Request authorization to gain access to encrypted information points in the index, Developing with IDXThe following section lays out how to start constructing with IDX.
Setup, First, we'll require to set up the main IDX library and associated reliances: npm install @ceramicnetwork/ ceramic-http-client @ceramicstudio/ idx @ceramicstudio/ idx-constants, Query an identity, Then we can use these libraries to link IDX to a Ceramic network and interact with the documents associated to a provided DID. This example shows how to just query the standard profile for a provided Ceramic from '@ceramicnetwork/ ceramic-http-client' import IDX from '@ceramicstudio/ idx' import definitions from '@ceramicstudio/ idx-constants'// Use Ceramic devnetconst ceramic = brand-new Ceramic('< https://ceramic.