Follow up on this post Does parity include a console?
It is possible to have a JS script -with web3 nodejs library- running in a linux machine which only has installed parity as a client (no geth)?
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.Sign up to join this community
$ npm install web3 $ node test.js
... where test.js looks like this:
const Web3 = require('web3'); const web3 = new Web3(new Web3.providers.HttpProvider('http://localhost:8545')); console.log(web3.eth.accounts);