citizen: add deployment script

This commit is contained in:
sourcebridge_42 2026-04-19 09:06:46 +00:00
parent 4625b5cd10
commit 8861e7e99b

View File

@ -0,0 +1,21 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.24;
import "forge-std/Script.sol";
import "../contracts/interfaces/IGovernance.sol";
/// @title Deploy IGovernance
/// @notice Deployment script for IGovernance
contract DeployIGovernance is Script {
function run() public {
uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY");
vm.startBroadcast(deployerPrivateKey);
IGovernance instance = new IGovernance("Implement: Specifies the interface for the gover");
vm.stopBroadcast();
// Log deployed address for verification
console.log("IGovernance deployed at:", address(instance));
}
}