@dashevo/wasm-dpp

中文文档
5.0.3发布于 2026/11/04MITTypeScriptCommonJS近 30 天下载 4478

The JavaScript implementation of the Dash Platform Protocol

原始使用文档
文档目录14 节
  1. THIS IS A DEV VERSION, NOT INTENDED FOR A PRODUCTION USAGE …
  2. Dev environment
  3. IMPORTANT
  4. Build on a Mac
  5. Class names minification
  6. Table of Contents
  7. Prerequisites
  8. Build
  9. TODO
  10. Usage
  11. TODO
  12. Maintainer
  13. Contributing
  14. License

Dash Platform Protocol JS

NPM Version Build Status Release Date standard-readme compliant

The WASM JavaScript binding of the Rust implementation of the Dash Platform Protocol

THIS IS A DEV VERSION, NOT INTENDED FOR A PRODUCTION USAGE JUST YET

Dev environment

In order for this binding to work, you have to have a rs-platform cloned alongside platform repo, so you can have access to the rust dpp.

IMPORTANT

Build on a Mac

Built-in llvm on OSX does not work, it needs to be installed from brew:

  • brew install llvm
  • LLVM installed from brew is keg only, and path to it must be provided in the profile file, e.g.echo 'export PATH="/opt/homebrew/opt/llvm/bin:$PATH"' >> ~/.zshrc

Class names minification

Library consumers must ignore class names minification for @dashevo/wasm-dpp library in their bundlers.

Table of Contents

Prerequisites

  • Install Rust v1.73+
  • Add wasm32 target: $ rustup target add wasm32-unknown-unknown
  • Install wasm-bingen-cli: cargo install [email protected]
    • double-check that wasm-bindgen-cli version above matches wasm-bindgen version in Cargo.lock file
    • Depending on system, additional packages may need to be installed as a prerequisite for wasm-bindgen-cli. If anything is missing, installation will error and prompt what packages are missing (i.e. clang, llvm, libssl-dev)

Build

$ yarn build

TODO

Usage

TODO

Maintainer

@antouhou

Contributing

Feel free to dive in! Open an issue or submit PRs.

License

MIT © Dash Core Group, Inc.

版本与发布记录

@dashevo/wasm-dpp 共发布 347 个版本,首次发布于 2022/10/08;过去 12 个月发布了 72 个版本。

版本发布日期距今
5.0.3latest2026/11/047 天前
5.0.22026/11/029 天前
5.0.12026/10/2714 天前
5.0.02026/10/2715 天前
5.0.0-rc.82026/10/2319 天前
5.0.0-rc.72026/10/2220 天前

其他发布通道:0.24-dev → 0.24.0-dev.34,0.25-dev → 0.25.0-dev.33,0.25-pr → 0.25.16-pr.1574.2,0.25-rc → 0.25.16-rc.6,1.0-dev → 1.0.0-dev.16,1.0-pr → 1.0.0-pr.1937.B.3。

关于 @dashevo/wasm-dpp 的常见问题

@dashevo/wasm-dpp 是什么?

The JavaScript implementation of the Dash Platform Protocol

如何安装 @dashevo/wasm-dpp?

在项目目录运行 npm install @dashevo/wasm-dpp,或使用 pnpm add / yarn add / bun add。

@dashevo/wasm-dpp 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@dashevo/wasm-dpp 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@dashevo/wasm-dpp 可以商用吗?

@dashevo/wasm-dpp 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@dashevo/wasm-dpp 的下载量有多少?

根据 npm 官方下载统计,@dashevo/wasm-dpp 在 2026/10/12 – 2026/11/10 这 30 天内被下载 4,478 次,日均约 149 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@dashevo/wasm-dpp 还在维护吗?

最新版本 5.0.3 发布于 2026/11/04(7 天前);至今共发布 347 个版本,其中过去 12 个月发布了 72 个;首次发布于 2022/10/08。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。