@dcprotocol/vault
The vault package provides the dcp CLI and local vault server runtime.
Install
npm install -g @dcprotocol/vaultRequires Node.js 22.
CLI Quick Start
dcp init
dcp create-wallet --chain solana
dcp add identity.name
dcp add identity.email
dcp listCommon Scopes
| Need | Scope |
|---|---|
| Name | identity.name |
identity.email | |
| Phone | identity.phone |
| Home address | address.home |
| OpenAI API key | credentials.api.openai |
| Anthropic API key | credentials.api.anthropic |
| GitHub token | credentials.api.github |
Desktop Users
Most users should manage data through DCP Desktop. The CLI is useful for scripts, automation, and developers who prefer terminal workflows.
Useful CLI Commands
dcp status
dcp update identity.email
dcp remove identity.email
dcp approve --list
dcp config show
dcp activity --last 24h
dcp revoke <agent_or_session>