|
|
@ -50,13 +50,37 @@ web3.eth.coinbase.then(function(result){ |
|
|
|
|
|
|
|
For another example see `example/index.html`. |
|
|
|
|
|
|
|
## Contribute! |
|
|
|
|
|
|
|
### Requirements |
|
|
|
|
|
|
|
* Node.js |
|
|
|
* npm |
|
|
|
* gulp (build) |
|
|
|
* mocha (tests) |
|
|
|
|
|
|
|
```bash |
|
|
|
sudo apt-get update |
|
|
|
sudo apt-get install nodejs |
|
|
|
sudo apt-get install npm |
|
|
|
sudo apt-get install nodejs-legacy |
|
|
|
sudo npm install -g gulp |
|
|
|
sudo npm install -g mocha |
|
|
|
``` |
|
|
|
|
|
|
|
## Building |
|
|
|
|
|
|
|
* `gulp build` |
|
|
|
```bash |
|
|
|
gulp |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
### Testing |
|
|
|
|
|
|
|
```bash |
|
|
|
mocha |
|
|
|
``` |
|
|
|
|
|
|
|
**Please note this repo is in it's early stage.** |
|
|
|
|
|
|
|
If you'd like to run a WebSocket ethereum node check out |
|
|
|