@etn-sc/web3-plugin-example
v1.0.6
Published
Example implementations of Web3.js' 4.x plugin system
Downloads
4
Maintainers
Readme
Web3 Plugin Example
This is an example of a plugin implementation for @etn-sc/web3.js.
Installation
You can install the package using NPM
Using NPM
npm install @etn-sc/web3-plugin-example
Getting Started
- :writing_hand: 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
|