22 lines
632 B
Solidity
22 lines
632 B
Solidity
// SPDX-License-Identifier: MIT
|
|
pragma solidity ^0.8.24;
|
|
|
|
import "forge-std/Script.sol";
|
|
import "../contracts/Repository.sol";
|
|
|
|
/// @title Deploy Repository
|
|
/// @notice Deployment script for Repository
|
|
contract DeployRepository is Script {
|
|
function run() public {
|
|
uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY");
|
|
vm.startBroadcast(deployerPrivateKey);
|
|
|
|
Repository instance = new Repository("Implement: Implements the repository contract th");
|
|
|
|
vm.stopBroadcast();
|
|
|
|
// Log deployed address for verification
|
|
console.log("Repository deployed at:", address(instance));
|
|
}
|
|
}
|