$ npm install web3-shh
This is a sub-package of web3.js
This is the whisper v5 package.
Please read the documentation for more.
You can install the package either using NPM or using Yarn
npm install web3-shh
yarn add web3-shh
const Web3Personal = require('web3-shh');
const shh = new Web3Personal('ws://localhost:8546');
All the TypeScript typings are placed in the types
folder.
© 2010 - cnpmjs.org x YWFE | Home | YWFE