@hiero-did-sdk/messages
v0.2.0
Published
This package provides a comprehensive set of classes for constructing and handling DID Messages within the Hiero DID SDK. These DID Messages facilitate various DID operations on the Hedera network, such as creating, updating, and deactivating DIDs, as wel
Readme
@hiero-did-sdk/messages
This package provides a comprehensive set of classes for constructing and handling DID Messages within the Hiero DID SDK. These DID Messages facilitate various DID operations on the Hedera network, such as creating, updating, and deactivating DIDs, as well as managing their associated keys and services.
Features
- DID Message Classes: Offers a variety of DID Message classes for different DID operations.
- Serialization and Deserialization: Provides methods for serializing DID Messages to byte arrays and deserializing them back into DID Message objects.
- Lifecycle Integration: Seamlessly integrates with the
@hiero-did-sdk/lifecyclepackage to define and execute DID Message lifecycles. - TypeScript Support: Built with TypeScript to enhance developer experience and type safety.
Installation
Install the package via npm:
npm install @hiero-did-sdk/messagesUsage
Learn how to use the DID Message classes to construct and handle DID Messages for various DID operations in the Messages Guide.
API Reference
Learn more in the Messages API Reference.
Running Tests
Unit tests are included to validate functionality. Run tests with:
npm testLicense
This project is licensed under the Apache License 2.0. See the LICENSE file for details.
References
- Hiero DID SDK - The official repository for the Hiero DID SDK, containing the complete source code and documentation.
- Hiero JavaScript SDK - The official Hiero JavaScript SDK, used for interacting with the Hedera network.
