Blockchain By Example
上QQ阅读APP看书,第一时间看更新

Project description

This project generally represents how to implement the bitcoin payment protocol proposed in BIP 70 in order to build an online payment gateway. The BIP 70 protocol enables direct bitcoin payment processing for e-commerce platforms by managing payment transactions between a payment portal and the customer's bitcoin wallet.

BIPs, or Bitcoin  Improvement Proposals, are  proposals for introducing features or changes to Bitcoin . You can learn about all the BIPs in the official documentation at https://github.com/bitcoin/bips.

The merchant's server application will generate a custom BIP 72 payment URL (and the corresponding QR code) to help customers check out easily using their bitcoin wallet/client, whether by clicking on the link provided, or by scanning the QR code, as shown in the following diagram:

Basically, we'll perform the following three major steps to set up the project:

  1. Build the merchant server using Node.js and the Bitcore library
  2. Build the JavaScript frontend
  3. Build the Java client using BitcoinJ