22 lines
639 B
Solidity
22 lines
639 B
Solidity
// 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));
|
|
}
|
|
}
|