locklift
Version:
Node JS framework for working with Ever contracts. Inspired by Truffle and Hardhat. Helps you to build, test, run and maintain your smart contracts.
15 lines (14 loc) • 497 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.initLockliftStep = void 0;
const index_1 = require("../../../index");
const initLockliftStep = async (config, options) => {
// Initialize Locklift
//@ts-ignore
global.locklift = await index_1.Locklift.setup(config, options.network);
global.__dirname = __dirname;
require("tsconfig-paths/register");
//@ts-ignore
return global.locklift;
};
exports.initLockliftStep = initLockliftStep;