@pokt-foundation/pocketjs-abstract-provider
TypeScript icon, indicating that this package has built-in type declarations

2.2.1 • Public • Published

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!
}

Dependencies (0)

    Dev Dependencies (10)

    Package Sidebar

    Install

    npm i @pokt-foundation/pocketjs-abstract-provider

    Weekly Downloads

    5

    Version

    2.2.1

    License

    ISC

    Unpacked Size

    45.2 kB

    Total Files

    27

    Last publish

    Collaborators

    • tokikuch
    • kutoft
    • artsabintsev
    • pascalvl