Moved, please use ethereumjs-lib
A Node library of core Ethereum functions.
####Install
npm install ethereum-lib
var Network = require('ethereum-node-lib').Network;
//create a new tcp server instance using network version 25
var network = new Network({
version: 25
});
//start listening for incoming connects
network.listen(30303, '0.0.0.0');
- Exploring the state trie
- Creating contracts and verifying transaction
- How to run contracts and create stack traces
ethereum-lib
provides the following.
- Network - Networking protocol and peer managment
- VM - The Ethereum vitural machine and state processing functions
- Block Chain - Blockchain managment
- Block - Block Schema definition and validation
- Transaction - Transaction Schema definition and validation
- Account - Account Schema definition and validation
- utils - Miscellaneous helper functions
- rlp - Recusive Length Perfix serialization
- Trie - Modified Merkle Patricia Tree
####Testing
npm test
####License GPL3