1.3.20 • Published 4 years ago
bif-core-contract v1.3.20
web3-eth-contract
This is a sub-package of web3.js.
This is the contract package used in the web3-eth
package.
Please read the documentation for more.
Installation
Node.js
npm install web3-eth-contract
Usage
const Web3EthContract = require('web3-eth-contract');
// Set provider for all later instances to use
Web3EthContract.setProvider('ws://localhost:8546');
const contract = new Web3EthContract(jsonInterface, address);
contract.methods.somFunc().send({from: ....})
.on('receipt', function(){
...
});
Types
All the TypeScript typings are placed in the types
folder.
1.3.20
4 years ago
1.3.13
4 years ago
1.3.9
4 years ago
1.3.8
4 years ago
1.3.6
4 years ago
1.3.4
4 years ago
1.3.3
4 years ago
2.3.3
6 years ago
2.3.2
6 years ago
2.3.0
6 years ago
2.2.5
6 years ago
2.2.4
6 years ago
2.2.3
6 years ago
2.2.2
6 years ago
2.2.1
6 years ago
2.2.0
6 years ago
2.1.12
6 years ago
2.1.11
6 years ago
2.1.8
6 years ago
2.1.7
6 years ago
2.1.6
6 years ago
2.1.5
6 years ago
2.1.4
6 years ago
2.1.3
6 years ago
2.1.2
6 years ago
2.1.1
6 years ago
2.1.0
6 years ago
2.0.2
6 years ago
2.0.1
6 years ago
2.0.0
6 years ago