Skip to content

dashevo/dashpay-dpa

Repository files navigation

DashPay DPA

=====================

NPM Package Build Status Coverage Status

A wallet-lib plugin for DashPay DPA features

Relies on :

Table of Contents

State

Under active development.

Principles

Dash is a powerful new peer-to-peer platform for the next generation of financial technology. The decentralized nature of the Dash network allows for highly resilient Dash infrastructure, and the developer community needs reliable, open-source tools to implement Dash apps and services.

Install

npm install @dashevo/dashpay-dpa --save-exact

Usage the save-exact flag is encouraged as well as a manual verification of the modifications before bumping to a newer version.

Usage

In your initialization of your wallet object, add DashPayDPA in the plugins array parameter.

const { Wallet } = require('@dashevo/wallet-lib');
const DashPayDPA = require('@dashevo/dashpay-dpa');


const wallet = new Wallet({
  plugins: [DashPayDPA],
  allowSensitiveOperations: true
});

The allowSensitiveOperations has to be set at true. As we require an access to the keychain in order to sign a RegTx.

Any plugin requiring this boolean to be true, should have extra look and be installed and fixed to a specific version using the --save-exact npm flag. Futures updates should then be manual and go through a whole check again.

Getting started

In order to be able to access to method of DashPay DPA. You first need to get the instance from wallet-lib :

const dpd = account.getDPA('dashpaydpa');

Features

  • Register DashPayDPA Schema
  • Register a blockchain username
  • Broadcast transition
  • Search/Get BU.
  • Top Up account
  • Pay To Username
  • Contact logic

API

Examples

You can see here, some Examples.

Credits

Wallet-Lib is maintained by the Dash Core Developers. We want to thanks all member of the community that have submited suggestions, issues and pull requests.

License

MIT © Dash Core Group, Inc.

About

A plugin for wallet-lib providing DashPay DPA features.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5