citizen: add deployment script
This commit is contained in:
parent
5ac9a6176a
commit
371e4eff25
21
script/DeployILabRegistry.s.sol
Normal file
21
script/DeployILabRegistry.s.sol
Normal file
@ -0,0 +1,21 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
pragma solidity ^0.8.24;
|
||||
|
||||
import "forge-std/Script.sol";
|
||||
import "../contracts/interfaces/ILabRegistry.sol";
|
||||
|
||||
/// @title Deploy ILabRegistry
|
||||
/// @notice Deployment script for ILabRegistry
|
||||
contract DeployILabRegistry is Script {
|
||||
function run() public {
|
||||
uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY");
|
||||
vm.startBroadcast(deployerPrivateKey);
|
||||
|
||||
ILabRegistry instance = new ILabRegistry("Implement: Specifies the interface for the lab r");
|
||||
|
||||
vm.stopBroadcast();
|
||||
|
||||
// Log deployed address for verification
|
||||
console.log("ILabRegistry deployed at:", address(instance));
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user