eth-hook
v0.0.11
Published
# EthDB
Downloads
10
Readme
README still need updates
EthDB
A project with the goal of facilitating the flow of information out of Ethereum blockchain, making it easy to develop hybrid dapps.
Features
- Provide a callback to notify events that happened in Ethereum blockchain.
Requirements
- Have node >=v8.2.1 (hint nvm rocks)
- Install dependencies with
npm i
- Have your RPC client of choice, at selected network running and fully in sync.
- For
geth
, use flags--rpc --rpcapi="db,eth,net,web3,personal,web3" --ws
, if starting fresh, for a faster full node sync you may add the flags--fast --cache=1024
- For
Example:
- See usage in example.js, for a simple usage with
testrpc
Flags
SILENT=true
mute daemon logsDEBUG=eth-hook
for more verbose logsFULL_NODE_URL
defaults to"http://localhost:8545"
Development
Using prettier for style lint + pre commit hooks + atom prettier plugin
Tests
Needs to get done, basically a variation of example.js would be a great start.
Roadmap:
- Implement tests
- List input data issue 3
- Detect ERC20 payments