2.22.2 • Published 8 months ago
@oasisprotocol/sapphire-hardhat v2.22.2
@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-hardhatNext, 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! **/