0.1.0 • Published 5 months ago

nodit-ethers-provider v0.1.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
5 months ago

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-provider

Usage

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.

License

Apache License 2.0

0.1.0

5 months ago