Bitex Payment Protocol
A module for bitex that implements Payment Protocol and other related BIPs.
Getting Started
This library is distributed in both the npm and bower packaging systems.
npm install bitex-libnpm install apay-bitcoin-protocol
bower install bitex-libbower install apay-bitcoin-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:
var PaymentProtocol = ; var body = PaymentProtocolPaymentRequest;var request = ; var version = pr;var pki_type = pr;var pki_data = pr;var serializedDetails = pr;var signature = pr; // Verify the signaturevar verified = request;
Contributing
See CONTRIBUTING.md on the main bitex repo for information about how to contribute.
License
Code released under the MIT license.
Copyright 2017 AriseBank, Inc. Bitex is a trademark maintained by AriseBank, Inc.