Hedera Custodians Library
Introduction
The Hedera Custodians Library is a TypeScript utility that simplifies custodial wallet management and account operations for the Hedera network. It provides a foundation for building secure, scalable custodial integrations in TypeScript applications.
Key Features
Simplifies integration with the Hedera network
Abstracts away complexities of custodial wallet management
Provides a unified interface for different custodial services
Enhances security and compliance in digital asset management
By leveraging the Hedera Custodians Library, developers can efficiently implement secure and scalable custodial wallet solutions in their Hedera-based applications.
Custodial Wallet Management
Custodial wallet management is the practice of a third party being trusted with storage and security concerning the private keys that are associated with the cryptocurrency. Within the Hedera ecosystem, custodial wallet management is essential for the following reasons:
Security: Custodial services have robust security and safety mechanisms to maintain digital assets.
Institutional Adoption: Many institutional investors require custodial solutions to comply with regulatory requirements and internal risk management policies.
Simplified User Experience: Custodial services may abstract the complexities of key management, making the user's interaction with the Hedera network much easier.
Integration with Traditional Finance: This often bridges cryptocurrency and traditional finance, furthering adoption.
Multi-signature Support: It can be done in various ways through custodial implementations with multi-signature wallets, which contribute to higher security and make more complex governance structures possible.
Regulatory Compliance: Custodial services typically have some in-built compliance features to assist users in conforming to KYC/AML.
The Custodians Library makes it easier to integrate custodial services, providing access to these benefits without custom implementations. It currently supports two providers: Fireblocks and DFNS.
Fireblocks
If you’re integrating Fireblocks, use the official Fireblocks Hedera SDK Client and Signer, which implements HIP-338. It provides a drop-in Hedera Client
and a signer for raw-signing via Fireblocks, plus examples for single and multi-signer flows.
In the context of the Hedera ecosystem:
Secure Storage: HBAR is stored securely on Fireblocks alongside Hedera tokens, using a combination of MPC (Multi-Party Computation) technology and hardware isolation.
Securing Transactions: It offers a policy engine that enables the setup of custom approval flows for every transaction conducted on the Hedera network.
Integration: Fireblocks can be integrated into the Hedera network, allowing seamless transactions with Hedera-based assets and their custodial management.
API Access: The Hedera Custodian Library has full access to the API, which it uses for wallet automation and signing transactions.
⚠️ This Custodians Library remains compatible with Fireblocks via its FireblocksConfig
strategy in the Custodians Integration package (@hashgraph/hedera-custodians-integration
). However, the official SDK Client/Signer is the recommended path for new builds.
DFNS
DFNS (Digital Financial Network & Security) is a custodial wallet infrastructure provider that offers MPC-based key management and transaction signing services. In the Hedera ecosystem:
Key Management: DFNS provides secure key generation and management for Hedera accounts without exposing private keys.
Programmable Authorization: It offers customizable authorization policies for Hedera transactions, enabling complex approval flows.
Multi-Tenancy: DFNS supports multi-tenant architectures, allowing businesses to manage multiple Hedera accounts for different users or purposes.
API-First Approach: The service provides RESTful APIs that the Hedera Custodian Library uses to interact with Hedera accounts and sign transactions.
Both Fireblocks and DFNS provide secure, compliant custodial solutions. By supporting these providers, the Custodians Library gives developers a unified interface for managing custodial wallets on Hedera.
API Reference
How to Use the Hedera Custodians Library
See the How-To Guides for integration steps with each provider.
Last updated
Was this helpful?