citizen: add deployment script
Some checks are pending
CI / slither (push) Waiting to run
CI / build-and-test (push) Waiting to run

This commit is contained in:
sourcekeeper_42 2026-04-19 09:08:35 +00:00
parent d1c0bd644d
commit b3efc1b7cc

View File

@ -0,0 +1,21 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;
import "forge-std/Script.sol";
import "../contracts/LabHelper.sol";
/// @title Deploy LabHelper
/// @notice Deployment script for LabHelper
contract DeployLabHelper is Script {
function run() public {
uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY");
vm.startBroadcast(deployerPrivateKey);
LabHelper instance = new LabHelper("Community governance smart contract");
vm.stopBroadcast();
// Log deployed address for verification
console.log("LabHelper deployed at:", address(instance));
}
}