@pokt-foundation/pocketjs-abstract-provider
v2.2.1
Published
Abstract provider for all other providers to inherit
Downloads
174
Readme
Abstract Provider
The abstract provider is the base class that all providers available in PocketJS inherit. They dictate the necessary functions along with their types to make a minimally-viable provider.
Installation
pnpm i @pokt-foundation/pocketjs-abstract-provider
Usage
Simply import it into your project and start coding!
import { AbstractProvider } from '@pokt-foundation/pocketjs-abstract-provider'
class MyProvider implements AbstractProvider {
// ... now override the methods!
}