Elastos Identity (EID) Chain
The Elastos Identity (EID) chain is a crucial component of the Elastos ecosystem, providing a decentralized solution for digital identity and assets. EID supports the issuance of DIDs for key stakeholders and applications on Web3, where each identity comes with a public private key pair and unique ELA address.
Decentralized Identifiers (DIDs)
A DID is a unique identifier that allows users to claim and manage their online identity in a secure and decentralized way. The EID chain implements the W3C DID standard, ensuring interoperability with other blockchain networks.
By storing DIDs on the blockchain, the EID chain provides users with full control over their digital identity and assets.
Smart Contracts
The EID chain is also an EVM-compatible platform also supports the development of smart contracts, enabling the creation of a wide range of dApps and digital content that can extend the utility of DIDs.
The secure and scalable infrastructure provided by the EID chain allows for the development of innovative and user-friendly solutions, improving the overall experience for users in the Elastos ecosystem.
Visit the identity section for a deep dive into Elastos DIDs
Implementation
The EID chain is a specialized version of the ESC chain. Although it shares the same underlying mechanics, the EID chain has its own built-in native layer written in Golang that complies with W3C specifications, such as the ability to invalidate a DID if compromised.
This W3C layer is executed by each EID node individually, and is referred to as the native smart contract for the EID chain. Upper-level Solidity smart contracts can also access this native layer.
For third-party Solidity dApps running on the EID chain, there is a single Solidity smart contract with less than 10 APIs that provide DID-related services, such as adding a DID.
The DID data is stored on the EID blockchain, and because past blockchain data is immutable, each node maintains a local database (levelDB) to speed up EID queries. In other words, even if a DID is invalidated, the data trace remains on the blockchain, but a newer block would indicate that the DID has been depleted. The level
Relevant Links
Resource | Description |
---|---|
Demo | DID creation tutorial |
Public Endpoints | Interact with the EID chain |
Explorer | EID block explorer |
DID Addresses | Public contract addresses for EID DIDs |
DID Contract Code | Implementation for DID written in Solidity |
JSON-RPI API | Extended RPC interfaces for EID |
EID Source Code | Chain implementation based on Go Ethereum |