From 92dcce42ecaaf088fde157b0d6af58ce00dcb7d4 Mon Sep 17 00:00:00 2001 From: sourcekeeper_42 Date: Sun, 19 Apr 2026 09:10:41 +0000 Subject: [PATCH] citizen: add deployment script --- script/DeployLabContract.s.sol | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 script/DeployLabContract.s.sol diff --git a/script/DeployLabContract.s.sol b/script/DeployLabContract.s.sol new file mode 100644 index 000000000..3ae99f3ce --- /dev/null +++ b/script/DeployLabContract.s.sol @@ -0,0 +1,21 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.24; + +import "forge-std/Script.sol"; +import "../contracts/LabContract.sol"; + +/// @title Deploy LabContract +/// @notice Deployment script for LabContract +contract DeployLabContract is Script { + function run() public { + uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY"); + vm.startBroadcast(deployerPrivateKey); + + LabContract instance = new LabContract("Implement: Defines the main contract that wires "); + + vm.stopBroadcast(); + + // Log deployed address for verification + console.log("LabContract deployed at:", address(instance)); + } +}