You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Christopher Jeffrey
09c034f0c6
|
11 years ago | |
---|---|---|
.. | ||
README.md | 11 years ago | |
bitcore.js | 11 years ago | |
customer.js | 11 years ago | |
index.html | 11 years ago | |
index.js | 11 years ago | |
server.js | 11 years ago | |
style.css | 11 years ago |
README.md
Running the Payment Protocol Demo
This is an example of Bitcore's Payment Protocol implementation, including a
mocked server (server.js
) and client (customer.js
).
- Start the server:
node server.js
- Start the customer:
node customer.js
At this point, you should see an acknowledgement from your local server:
Customer: Our payment was acknowledged!
Customer: Message from Merchant: Thank you for your payment!
Customer: Payment sent successfully.