CLI Reference

The dcp CLI is shipped by @dcprotocol/vault.

Install

npm install -g @dcprotocol/vault

Core Commands

CommandUse
dcp initCreate a local vault.
dcp create-wallet --chain solanaCreate a Solana wallet.
dcp add identity.emailAdd a data record.
dcp read identity.emailRead a data record.
dcp listList stored records.
dcp statusShow vault status.
dcp agentsList paired agents.
dcp activityShow audit activity.

Common Setup

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

Remote Agents

For beta remote agents, prefer Desktop's generated invite command:

curl -fsSL https://dcpagent.com/install.sh | sudo bash -s -- 'dcp_vps_v1_...'