$ npm install web3-eth-contract
This is a sub module of web3.js
This is the contract module to be used in the web3-eth
module.
Please read the documentation for more.
npm install web3-eth-contract
import {Contract} from 'web3-eth-contract';
new Contract(
'http://127.0.0.1:4546',
abi,
address,
options
);
All the typescript typings are placed in the types folder.
© 2010 - cnpmjs.org x YWFE | Home | YWFE