@artela/web3-atl-aspect
v1.9.24
Published
Web3 module to interact with Ethereum smart contracts.
Downloads
46
Keywords
Readme
web3-atl-aspect
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
You can install the package either using NPM or using Yarn
Using NPM
npm install web3-atl-aspect
Using Yarn
yarn add web3-atl-aspect
Usage
const Aspect = require('web3-atl-aspect');
// Set provider for all later instances to use
Aspect.setProvider('ws://localhost:8546');
const aspect = new Aspect();
aspect.deploy()
.on('receipt', function() {
...
});
Types
All the TypeScript typings are placed in the types
folder.