Ethereum & Quorum JavaScript API
This is the fork version of the Web3 API Ethereum compatible JavaScript API which is extended to support the Quorum API.
You need to run a local Ethereum/Quorum node to use this library.
Installation
Node.js
npm install web3-quorum
Usage
Use the web3
object directly from global namespace:
console; // {eth: .., shh: ...} // it's here!
Set a provider (HttpProvider)
web3;
There you go, now you can use it:
var nodeInfo = web3quorumnodeInfo;web3quorum;
Quorum functions
web3quorumnodeInfoweb3quorumweb3quorumweb3quorumweb3quorumweb3quorumweb3quorumweb3quorum
Contribute!
Requirements
- Node.js
- npm
sudo apt-get updatesudo apt-get install nodejssudo apt-get install npmsudo apt-get install nodejs-legacy
Building (gulp)
npm run-script build
Testing (mocha)
npm test