citizen: add deployment script
This commit is contained in:
parent
4625b5cd10
commit
8861e7e99b
21
script/DeployIGovernance.s.sol
Normal file
21
script/DeployIGovernance.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/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));
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user