web3-types
This is a sub-package of @etn-sc/web3.js.
@etn-sc/web3-types
contains the common data structures and interfaces used in web3.js.
Installation
You can install the package using NPM
Using NPM
npm install @etn-sc/web3-types
Getting Started
- ✍️ If you have questions submit an issue
Prerequisites
Package.json Scripts
Script | Description |
---|---|
clean | Uses rimraf to remove dist/
|
build | Uses tsc to build package and dependent packages |
lint | Uses eslint to lint package |
lint:fix | Uses eslint to check and fix any warnings |
format | Uses prettier to format the code |
test | Uses jest to run unit tests |
test:integration | Uses jest to run tests under /test/integration
|
test:unit | Uses jest to run tests under /test/unit
|