🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

web3-plugin-example

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

web3-plugin-example

Example implementations of Web3.js' 4.x plugin system

1.0.7-dev.41f39c0.0
Version published
Weekly downloads
75
368.75%
Maintainers
5
Weekly downloads
 
Created

web3.js

Web3 Plugin Example

ES Version Node Version NPM Package Downloads

This is an example of a plugin implementation for web3.js.

Installation

You can install the package either using NPM or using Yarn

Using NPM

npm install web3-plugin-example

Using Yarn

yarn add web3-plugin-example

Getting Started

Prerequisites

Package.json Scripts

ScriptDescription
cleanUses rimraf to remove dist/
buildUses tsc to build package and dependent packages
lintUses eslint to lint package
lint:fixUses eslint to check and fix any warnings
formatUses prettier to format the code
testUses jest to run unit tests
test:integrationUses jest to run tests under /test/integration
test:unitUses jest to run tests under /test/unit

FAQs

Package last updated on 26 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts