updated README

This commit is contained in:
Marek Kotewicz 2015-02-06 11:59:12 +01:00
parent c184728ee8
commit d1e6b203f1
1 changed files with 2 additions and 2 deletions

View File

@ -30,9 +30,9 @@ Require the library:
var web3 = require('web3'); var web3 = require('web3');
Set a provider (QtProvider, WebSocketProvider, HttpRpcProvider) Set a provider (QtSyncProvider, HttpSyncProvider)
var web3.setProvider(new web3.providers.WebSocketProvider('ws://localhost:40404/eth')); web3.setProvider(new web3.providers.HttpSyncProvider());
There you go, now you can use it: There you go, now you can use it: