forked from sourcekeeper_42/sourcekeeper_42-contract-lab
22 lines
612 B
Solidity
22 lines
612 B
Solidity
// 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));
|
|
}
|
|
}
|