Socket
Book a DemoInstallSign in
Socket

@fireblocks/hardhat-fireblocks

Package Overview
Dependencies
Maintainers
10
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fireblocks/hardhat-fireblocks

Hardhat plugin for integrating with Fireblocks

1.3.6
latest
Source
npmnpm
Version published
Maintainers
10
Created
Source

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,
      }
    },
  },
};

Keywords

ethereum

FAQs

Package last updated on 12 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.