@oasisprotocol/sapphire-hardhat
TypeScript icon, indicating that this package has built-in type declarations

2.19.4 • Public • Published

@oasisprotocol/sapphire-hardhat

A plugin for Hardhat that wraps the provider connected to a Sapphire network.

Usage

First install the plugin.

npm install -D @oasisprotocol/sapphire-hardhat

Next, import it in your Hardhat config above the rest of your plugins so that the provider gets wrapped before anything else starts to use it.

// ESM
import '@oasisprotocol/sapphire-hardhat';

// CommonJS
require('@oasisprotocol/sapphire-hardhat');

/** All other plugins must go below this one! **/

/@oasisprotocol/sapphire-hardhat/

    Package Sidebar

    Install

    npm i @oasisprotocol/sapphire-hardhat

    Weekly Downloads

    20

    Version

    2.19.4

    License

    Apache-2.0

    Unpacked Size

    16.5 kB

    Total Files

    8

    Last publish

    Collaborators

    • cedarmist
    • tjanez
    • luka_oasisprotocol
    • kostko
    • oasisprotocol-bot
    • pro-wh