lifetioncore-payment-protocol
==============================
A module for lifetioncore that implements Payment Protocol and other related BIPs.
Getting Started
This library is distributed in both the npm and bower packaging systems.
npm install lifetioncore-libnpm install lifetioncore-payment-protocol
There are many examples of how to use it on the developer guide section for payment protocol. For example, the following code would verify a payment request:
const PaymentProtocol = ; const body = PaymentProtocolPaymentRequest;const request = ; const version = pr;const pki_type = pr;const pki_data = pr;const serializedDetails = pr;const signature = pr; // Verify the signatureconst verified = request;
Contributing
See CONTRIBUTING.md on the main lifetioncore repo for information about how to contribute.
License
Code released under the MIT license.
Copyright 2013-2015 BitPay, Inc. Bitcore is a trademark maintained by BitPay, Inc.