Sign In

@dcprotocol/core

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dcprotocol/core

Core encryption, wallet, storage, and policy engine for DCP

latest
Source
npmnpm
Version
3.1.1
Version published
Weekly downloads
34
-10.53%
Maintainers
1
Weekly downloads
 
Created
Source

@dcprotocol/core

Core primitives for DCP runtimes.

Most developers should use @dcprotocol/vault, @dcprotocol/agent, or @dcprotocol/client first. Use core when you are extending DCP itself or building a runtime that needs the same primitives as the vault.

Install

npm install @dcprotocol/core

What Is Inside

crypto      encryption, signatures, canonical JSON
wallet      key custody (create/encrypt/sign) + RE-EXPORTS the pure wallet logic
            (tx build/validate/runner) from @dcprotocol/wallet-core
storage     SQLite vault storage and audit data
budget      budget and policy helpers
pairing     signed pairing grants and remote-agent invites
types       shared TypeScript types (VaultError is re-exported from wallet-core)

Relationship to @dcprotocol/wallet-core

The pure, dependency-light wallet logic — transaction building, validation, the execution runner, token registry, Jupiter, and the shared VaultError — lives in @dcprotocol/wallet-core (no native deps, React-Native-safe). core adds key custody, storage, and crypto (which need native modules) on top, and re-exports wallet-core for backward compatibility. Import wallet primitives from either; they are the same code.

Boundaries

Core provides building blocks. The vault decides policy, approval, signing, and storage behavior in the running product.

Keywords

vault

FAQs

Package last updated on 23 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts