citizen: add deployment script
This commit is contained in:
parent
d78670cf61
commit
060edf789c
21
script/DeployRepositoryExplorerTest.s.sol
Normal file
21
script/DeployRepositoryExplorerTest.s.sol
Normal file
@ -0,0 +1,21 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
pragma solidity ^0.8.24;
|
||||
|
||||
import "forge-std/Script.sol";
|
||||
import "../test/RepositoryExplorerTest.sol";
|
||||
|
||||
/// @title Deploy RepositoryExplorerTest
|
||||
/// @notice Deployment script for RepositoryExplorerTest
|
||||
contract DeployRepositoryExplorerTest is Script {
|
||||
function run() public {
|
||||
uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY");
|
||||
vm.startBroadcast(deployerPrivateKey);
|
||||
|
||||
RepositoryExplorerTest instance = new RepositoryExplorerTest("Implement: Tests the interaction between the rep");
|
||||
|
||||
vm.stopBroadcast();
|
||||
|
||||
// Log deployed address for verification
|
||||
console.log("RepositoryExplorerTest deployed at:", address(instance));
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user