This package provides utility functions to create and use an OCAP-compatible crypto wallet. The generated wallets are also compatible with ArcBlock's Decentralized Identity (DID) system, enabling you to manage cryptographic keys, sign messages, and verify signatures seamlessly.
This section serves as an entry point for understanding and utilizing the @ocap/wallet library. Whether you're creating a new wallet from scratch or working with existing keys, this module offers a straightforward and powerful API.
Installation
To get started, add the package to your project using npm or your preferred package manager.
Installation
npm install @ocap/walletWhat's Next?
To dive deeper into the functionalities and concepts of the wallet library, explore the following sections:
Core Concepts
Learn about the fundamental concepts behind the Wallet object, its structure, various instantiation methods, and its connection to DIDs.
API Reference
Explore a comprehensive reference for all wallet-related methods and factory functions, complete with practical examples for signing, verifying, and more.