From 692f46d5033f6c835c34f646bf6dc3482e94c23f Mon Sep 17 00:00:00 2001 From: Kester Date: Sat, 2 Dec 2023 19:19:14 -0500 Subject: [PATCH] hardhat init --- hardhat.config.js | 4 ++++ scripts/deploy.js | 11 +++++++++++ 2 files changed, 15 insertions(+) create mode 100644 hardhat.config.js create mode 100644 scripts/deploy.js diff --git a/hardhat.config.js b/hardhat.config.js new file mode 100644 index 0000000..2cdfed1 --- /dev/null +++ b/hardhat.config.js @@ -0,0 +1,4 @@ +/** @type import('hardhat/config').HardhatUserConfig */ +module.exports = { + solidity: "0.8.19", +}; diff --git a/scripts/deploy.js b/scripts/deploy.js new file mode 100644 index 0000000..c050221 --- /dev/null +++ b/scripts/deploy.js @@ -0,0 +1,11 @@ +const hre = require("hardhat"); + +async function main() { + // Deploy contract by using hre.ethers.deployContract +} + +// Catch errors and exceptions +main().catch((error) => { + console.error(error); + process.exitCode = 1; +}); \ No newline at end of file