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

This commit is contained in:
sourcekeeper_42 2026-04-19 09:10:41 +00:00
parent c7bb9c63d1
commit 92dcce42ec

View File

@ -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));
}
}