This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

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

0.0.6 • Public • Published

Getting Started | Overview | Tutorials | Chat | API Reference

npm CircleCI hardhat


Georacle Hardhat Plugin

Installation

To install this plugin use:

npm install @georacle/hardhat-georacle --save

Import the plugin in your hardhat.config.js:

require("@georacle/hardhat-georacle");

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

import "@georacle/hardhat-georacle";

Usage

You need to add the following Georacle config to your hardhat.config.js file:

module.exports = {
  networks: {
    mainnet: { ... }
  },
  georacle: {
    // Your API key for Georacle
    // Obtain one at https://georacle.io/
    apiKey: "YOUR_GEORACLE_API_KEY"
  }
};

Tasks

This plugin adds tasks to authorize and remove a contract under your Georacle account.

Authorize a contract

npx hardhat authorize-contract --contract <contract address>

Remove a contract

npx hardhat remove-contract --contract <contract address>

Environment extensions

This plugin adds the corresponding functions to authorize and remove contracts within the Hardhat Runtime Environment.

Authorize a contract

hre.authorizeContract(hre, contractAddress);

Remove a contract

hre.removeContract(hre, contractAddress);

Dependencies (2)

Dev Dependencies (14)

Package Sidebar

Install

npm i @georacle/hardhat-georacle

Weekly Downloads

0

Version

0.0.6

License

MIT

Unpacked Size

23.9 kB

Total Files

43

Last publish

Collaborators

  • georacleapi