# @dashevo/dashpay-contract

> Reference contract of the DashPay DPA on Dash Evolution

Latest version **5.0.3** (published 2026-11-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install @dashevo/dashpay-contract
pnpm add @dashevo/dashpay-contract
yarn add @dashevo/dashpay-contract
bun add @dashevo/dashpay-contract
```

## Health

**Score 55/100 (C)** — status: active.

Positive: no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 5.0.3 |
| Published | 2026-11-03 |
| First published | 2020-12-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 47.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Dash Core Team |
| Maintainers | shumkov, alex-werner, nmarley, cofresi, evodeploy, jawid-h |

## Links

- npm: https://www.npmjs.com/package/@dashevo/dashpay-contract
- Repository: https://github.com/dashevo/dashpay-contract
- Homepage: https://github.com/dashevo/dashpay-contract#readme
- Issues: https://github.com/dashevo/dashpay-contract/issues
- npm.io page: https://npm.io/package/@dashevo/dashpay-contract

## Recent versions

- 5.0.3 (latest) — 2026-11-03
- 5.1.0-dev.1 (5.1-dev) — 2026-11-13
- 5.0.0-rc.8 (5.0-rc) — 2026-10-23
- 5.0.0-beta.6 (5.0-beta) — 2026-10-13
- 4.2.0-beta.7 (4.2-beta) — 2026-09-29
- 4.2.0-dev.11 (4.2-dev) — 2026-09-15
- 4.1.0-rc.3 (4.1-rc) — 2026-07-27
- 4.1.0-beta.2 (4.1-beta) — 2026-07-23
- 4.0.0-rc.2 (4.0-rc) — 2026-06-12
- 4.0.0-beta.4 (4.0-beta) — 2026-06-09
- 3.1.0-dev.8 (3.1-dev) — 2026-05-28
- 3.0.1-hotfix.4 (3.0-hotfix) — 2026-02-05
- 3.0.0-rc.3 (3.0-rc) — 2026-01-20
- 3.0.0-dev.11 (3.0-dev) — 2026-01-08
- 2.2.0-dev.2 (2.2-dev) — 2025-11-28
- … 400 more at https://npm.io/package/@dashevo/dashpay-contract/versions

## README

# DashPay Contract

[![NPM Version](https://img.shields.io/npm/v/@dashevo/dashpay-contract)](https://www.npmjs.com/package/@dashevo/dashpay-contract)
[![Build Status](https://github.com/dashpay/platform/actions/workflows/release.yml/badge.svg)](https://github.com/dashpay/platform/actions/workflows/release.yml)
[![Release Date](https://img.shields.io/github/release-date/dashpay/platform)](https://github.com/dashpay/platform/releases/latest)
[![license](https://img.shields.io/github/license/dashevo/dashpay-contract.svg)](LICENSE)
[![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen)](https://github.com/RichardLitt/standard-readme)

Reference contract of the DashPay Application Contract 

DashPay allows Dash user to create a DashPay profile on the Platform chain.   
This profile can be used to interact with other DashPay profiles, may it be for the purpose of sending/receiving transactions without having to go around the process of querying the public address of the recipient.  

## Table of Contents
- [Install](#install)
- [Usage](#usage)
- [API](#api)
- [Contributing](#contributing)
- [License](#license)

## Install

Ensure you have the latest [NodeJS](https://nodejs.org/en/download/) installed.

#### From repository

Clone the repo:

```shell
git clone https://github.com/dashevo/dashpay-contract
```

Install npm packages:

```shell
npm install
```

#### From NPM

```sh
npm install @dashevo/dashpay-contract
```

## Usage


#### Publish the contract 

```shell
npm run publish-contract
```

#### Running the tests

To run tests, simply run

```shell
npm test
```

## Design notes

- Count proofs are public. Never add a countable index on `contactRequest` that groups by sender under a recipient, such as `[toUserId, $ownerId]`: it would let anyone list who contacted whom, with counts. A count keyed on `toUserId` alone reveals only a total.
- Ignoring a sender is local to each device. If it ever syncs across devices, it must be one list the owner encrypts to themselves, not a `contactInfo` document per ignored sender. A `contactInfo` about someone who is not a contact exists publicly, and its creation time lines up with the incoming `contactRequest`, which reveals who was ignored.

## Contributing

Feel free to dive in! [Open an issue](https://github.com/dashpay/platform/issues/new/choose) or submit PRs.

## License

[MIT](LICENSE) © Dash Core Group, Inc.

---
_Source: https://npm.io/package/@dashevo/dashpay-contract · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
