From d8eebd6f676db20d040432aa55478a274e68ced6 Mon Sep 17 00:00:00 2001 From: "Ryan X. Charles" Date: Thu, 13 Mar 2014 13:46:21 -0400 Subject: [PATCH] update basic example to use new interface --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 42b96f315..de7b466a3 100644 --- a/README.md +++ b/README.md @@ -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