Overview
Hive Keychain is a widely-used browser extension that stores users’ Hive private keys securely. By integrating the Keychain signer, you can leverage the existing Keychain user base and provide a familiar signing experience.Prerequisites
Your users must have:- Hive Keychain browser extension installed
- At least one Hive account imported with the appropriate keys
Installation
Install the Keychain signer package:Basic usage
Here’s how to use the Keychain signer with WAX:Key authorities
Specify which key authority to use when creating the provider:Detecting Keychain
Check if Keychain is installed before using the provider:User experience
When you callsignTransaction(), Keychain will:
- Display a popup showing the transaction details
- Ask the user to confirm the operation
- Sign the transaction with their private key
- Return the signed transaction to your application
Example: Transfer with Keychain
Example: Multiple operations
Error handling
Key features
User-controlled
Users maintain full control of their private keys.
Transparent
Every transaction is shown to users before signing.
Widely adopted
Large existing user base in the Hive ecosystem.
Multi-account
Supports multiple accounts in a single extension.
Next steps
Transactions
Learn more about building transactions.
Operations
Explore available Hive operations.