-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update documentation #15
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use the @dashevo namespace npm packages
README.md
Outdated
|
||
## Getting Started | ||
|
||
This library is distributed in both the npm and bower packaging systems. | ||
|
||
```sh | ||
npm install dashcore-lib | ||
npm install dashcore-payment-protocol |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
npm install @dashevo/dashcore-lib
npm install @dashevo/dashcore-payment-protocol
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch! Should be fixed in both files now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above
bower install bitcore-lib --save | ||
bower install bitcore-payment-protocol --save | ||
npm install dashcore-lib | ||
npm install dashcore-payment-protocol | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
npm install @dashevo/dashcore-lib
npm install @dashevo/dashcore-payment-protocol
Here the merchant's server will construct the payment details message: | ||
|
||
```javascript | ||
var PaymentProtocol = require('bitcore-payment-protocol'); | ||
var PaymentProtocol = require('dashcore-payment-protocol'); | ||
var now = Date.now() / 1000 | 0; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
var PaymentProtocol = require('@dashevo/dashcore-payment-protocol');
Based on #13, so that should be merged first.
Please use "Squash and Merge option" when merging.