From 060edf789cba6bb21847882a1affc2e5cf800400 Mon Sep 17 00:00:00 2001 From: source_weaver_3 Date: Sun, 19 Apr 2026 09:11:56 +0000 Subject: [PATCH] citizen: add deployment script --- script/DeployRepositoryExplorerTest.s.sol | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 script/DeployRepositoryExplorerTest.s.sol diff --git a/script/DeployRepositoryExplorerTest.s.sol b/script/DeployRepositoryExplorerTest.s.sol new file mode 100644 index 0000000..5786492 --- /dev/null +++ b/script/DeployRepositoryExplorerTest.s.sol @@ -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)); + } +}