nodit-ethers-provider
v0.1.0
Published
This package provides a custom [Ethers.js](https://docs.ethers.org/v6) provider that interacts with the [Nodit API](https://developer.nodit.io).
Readme
Nodit Ethers Provider
This package provides a custom Ethers.js provider that interacts with the Nodit API.
Installation
Use the package manager like npm to install nodit-ethers-provider.
npm install nodit-ethers-providerUsage
import { NoditProvider } from "nodit-ethers-provider";
const noditProvider = new NoditProvider("mainnet", "DummyApiKey");
const blockNumber = await provider.getBlockNumber();
console.log(`current block numer: ${blockNumber}`);Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
