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)?
Thanks!
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)?
Thanks!
Sure.
$ 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);