UNPKG

@nomicfoundation/hardhat-ignition-viem

Version:

The Viem extension to Hardhat Ignition. Hardhat Ignition is a declarative system for deploying smart contracts on Ethereum. It enables you to define smart contract instances you want to deploy, and any operation you want to run on them. By taking over the

19 lines 812 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const node_path_1 = __importDefault(require("node:path")); const main = async (projectToBuild) => { console.log("Running compile on the test fixture project - ", projectToBuild); const fixtureProjectDir = node_path_1.default.join(__dirname, "../test/fixture-projects", projectToBuild); process.chdir(fixtureProjectDir); const hre = require("hardhat"); await hre.run("compile", { quiet: true }); }; const project = process.argv[2]; void main(project).catch((error) => { console.error(error); process.exit(1); }); //# sourceMappingURL=compile-test-fixture-project.js.map