$ show uport-project/ethr-did
Ethr-DID is a TypeScript library that provides a high-level abstraction for creating, managing, and using `did:ethr` decentralized identifiers on Ethereum. It wraps the `ethr-did-resolver` and `did-jwt` libraries to enable operations such as signing and verifying JSON Web Tokens (JWTs), changing the owner of a DID, adding or revoking delegate signers, and setting or revoking public attributes (keys, services) on the Ethereum DID Registry smart contract. The library supports multiple Ethereum networks (mainnet, testnets, custom chains) and meta-transactions for gasless operations. It is designed for developers building self-sovereign identity solutions on Ethereum, particularly within the Veramo ecosystem. The codebase is well-tested with Jest and Ganache, uses modern ES modules and TypeScript, and follows semantic versioning with automated releases.
The LLM identified 1 files worth highlighting for reuse:
Provides a reusable `createProvider()` function that initializes a Ganache provider with a deterministic set of funded accounts, enabling reproducible integration tests for Ethereum-based libraries. Also includes `sleep()` and mining control helpers. This pattern is self-contained and can be extracted for any project needing a local Ethereum test environment.