http sync api
This commit is contained in:
1 parent
e1fcffcc81
commit
0d2cccc2ce
8 files changed
+286
-102
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user