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

1.3.6 • Public • Published

npm version

Fireblocks Hardhat Plugin

This is a Hardhat plugin for integrating with Fireblocks.

This plugin will help you to seamlessly integrate Fireblocks into your Hardhat development stack.

You can use it to deploy contracts and sign transactions and messages.

Installation

npm install @fireblocks/hardhat-fireblocks

Import the plugin in your hardhat.config.js:

require("@fireblocks/hardhat-fireblocks");
const { ApiBaseUrl } = require("@fireblocks/fireblocks-web3-provider");

Or if you are using TypeScript, in your hardhat.config.ts:

import "@fireblocks/hardhat-fireblocks";
import { ApiBaseUrl } from "@fireblocks/fireblocks-web3-provider";

Configuration

This plugin extends the HttpNetworkUserConfig object with an optional fireblocks field.

This is an example of how to set it:

module.exports = {
  solidity: "0.8.17",
  networks: {
    goerli: {
      url: "https://rpc.ankr.com/eth_goerli",
      fireblocks: {
        // apiBaseUrl: ApiBaseUrl.Sandbox // If using a sandbox workspace
        privateKey: process.env.FIREBLOCKS_API_PRIVATE_KEY_PATH,
        apiKey: process.env.FIREBLOCKS_API_KEY,
        vaultAccountIds: process.env.FIREBLOCKS_VAULT_ACCOUNT_IDS,
      }
    },
  },
};

Package Sidebar

Install

npm i @fireblocks/hardhat-fireblocks

Weekly Downloads

320

Version

1.3.6

License

MIT

Unpacked Size

13.6 kB

Total Files

16

Last publish

Collaborators

  • dx_fireblocks
  • yuval-fireblocks
  • ylfbks
  • fb_alongo
  • slavaserebrianniy
  • vladkucherov
  • orenyomtov
  • arikblocks
  • yarinfb
  • idan-fb