https://github.com/maticnetwork/maticjs-web3
web3.js plugin for matic.js
https://github.com/maticnetwork/maticjs-web3
Last synced: about 1 year ago
JSON representation
web3.js plugin for matic.js
- Host: GitHub
- URL: https://github.com/maticnetwork/maticjs-web3
- Owner: maticnetwork
- License: mit
- Created: 2021-10-11T12:15:12.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-08-13T09:43:39.000Z (almost 2 years ago)
- Last Synced: 2025-03-03T21:56:47.380Z (over 1 year ago)
- Language: TypeScript
- Size: 596 KB
- Stars: 28
- Watchers: 20
- Forks: 29
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
[](https://badge.fury.io/js/@maticnetwork%2Fmaticjs-web3)
# maticjs-web3
[web3.js](https://web3js.readthedocs.io/) plugin for matic.js
# Installation
```
npm i @maticnetwork/maticjs-web3
```
# Examples
All the examples are in the examples folder.
# Docs
```
import { use } from '@maticnetwork/maticjs'
import { Web3ClientPlugin } from '@maticnetwork/maticjs-web3'
// install ethers plugin
use(Web3ClientPlugin)
```
That's all you need to do and `web3.js` will be used for web3 calls.