@dcprotocol/vault

The vault package provides the dcp CLI and local vault server runtime.

Install

npm install -g @dcprotocol/vault

Requires Node.js 22.

CLI Quick Start

dcp init
dcp create-wallet --chain solana
dcp add identity.name
dcp add identity.email
dcp list

Common Scopes

NeedScope
Nameidentity.name
Emailidentity.email
Phoneidentity.phone
Home addressaddress.home
OpenAI API keycredentials.api.openai
Anthropic API keycredentials.api.anthropic
GitHub tokencredentials.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>