@oasisprotocol/sapphire-hardhat

1.0.3 • 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! **/

Install

npm i @oasisprotocol/sapphire-hardhat

DownloadsWeekly Downloads

13

Version

1.0.3

License

Apache-2.0

Unpacked Size

18.5 kB

Total Files

10

Last publish

Collaborators

  • nhynes
  • kostko
  • oasisprotocol-bot
  • pro-wh