docs improved
This commit is contained in:
parent
3de1561a5c
commit
af6c2e8779
@ -14,9 +14,6 @@ See [the main bitcore repo](https://github.com/bitpay/bitcore) for more informat
|
||||
```sh
|
||||
npm install bitcore-p2p
|
||||
```
|
||||
```sh
|
||||
bower install bitcore-p2p
|
||||
```
|
||||
In order to connect to the bitcore network, you'll need to know the IP address of at least one node of the network. You can do that by using the known DNS servers. Then, you can connect to it:
|
||||
|
||||
```javascript
|
||||
|
||||
@ -17,11 +17,6 @@ For node projects:
|
||||
npm install bitcore-p2p --save
|
||||
```
|
||||
|
||||
For client-side projects:
|
||||
```bash
|
||||
bower install bitcore-p2p --save
|
||||
```
|
||||
|
||||
## Quick Start
|
||||
|
||||
```javascript
|
||||
@ -35,4 +30,4 @@ peer.on('inv', function(message) {
|
||||
|
||||
peer.connect();
|
||||
|
||||
```
|
||||
```
|
||||
|
||||
Loading…
Reference in New Issue
Block a user