How to use the web3-eth-contract.bind function in web3-eth-contract

To help you get started, we’ve selected a few web3-eth-contract examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ethereum / web3.js / packages / web3 / src / factories / PackageFactory.js View on Github external
PackageFactory.prototype.createContractPackage = function (connectionModel) {
    return Contract.bind({connectionModel: connectionModel, accounts: this.createAccountsPackage()});
};

web3-eth-contract

Web3 module to interact with Ethereum smart contracts.

LGPL-3.0
Latest version published 21 days ago

Package Health Score

79 / 100
Full package analysis

Similar packages