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

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

Package Sidebar

Install

npm i @oasisprotocol/sapphire-hardhat

Weekly Downloads

29

Version

2.22.2

License

Apache-2.0

Unpacked Size

18 kB

Total Files

8

Last publish

Collaborators

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