Merge pull request #151 from ryanxcharles/feature/update-basic-example
Update basic example
This commit is contained in:
commit
00bf0827db
|
@ -17,9 +17,12 @@ Bitcore runs on [node](http://nodejs.org/), and can be installed via [npm](https
|
|||
npm install bitcore
|
||||
```
|
||||
|
||||
It is a collection of objects useful to bitcoin applications; class-like idioms are enabled via [Soop](https://github.com/gasteve/soop). In most cases, a developer will require the object's class directly:
|
||||
It is a collection of objects useful to bitcoin applications; class-like idioms are enabled via [Soop](https://github.com/gasteve/soop). In most cases, a developer will require the object's class directly. For instance:
|
||||
```
|
||||
var Address = require('bitcore/Address');
|
||||
var bitcore = require('bitcore');
|
||||
var Address = bitcore.Address;
|
||||
var Transaction = bitcore.Transaction;
|
||||
var PeerManager = bitcore.PeerManager;
|
||||
```
|
||||
|
||||
#Examples
|
||||
|
|
Loading…
Reference in New Issue