http sync api

This commit is contained in:
Marek Kotewicz
2015-01-21 20:29:02 +01:00
parent e1fcffcc81
commit 0d2cccc2ce
8 changed files with 286 additions and 102 deletions

View File

@ -8,7 +8,7 @@
<script type="text/javascript">
var web3 = require('web3');
web3.setProvider(new web3.providers.AutoProvider());
web3.setProvider(new web3.providers.HttpSyncProvider('http://localhost:8080'));
function watchBalance() {
var coinbase = web3.eth.coinbase;