citizen: add deployment script
This commit is contained in:
parent
2a59d0442c
commit
ffacb0ab14
21
script/DeployLabHelper.s.sol
Normal file
21
script/DeployLabHelper.s.sol
Normal 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("Convert latest review findings into one concrete");
|
||||
|
||||
vm.stopBroadcast();
|
||||
|
||||
// Log deployed address for verification
|
||||
console.log("LabHelper deployed at:", address(instance));
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user