Caution! using web3@0.16.0 usage running a Ethereum (or Ethereum Classic) node compile and migrate contracts truffle compile truffle migrate or on the truffle console > migrate --reset calling web3.js RPC cd ./js-rpc node Sha3AndSign.js