deployer touchup; deploy script

This commit is contained in:
Tim Olson
2023-09-01 18:58:55 -04:00
parent 75150949dd
commit 44f17c14c1
6 changed files with 42 additions and 0 deletions

14
script/Deploy.sol Normal file
View File

@@ -0,0 +1,14 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity =0.7.6;
import "forge-std/Script.sol";
import "../src/VaultDeployer.sol";
contract Deploy is Script {
function run() external {
uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY");
vm.startBroadcast(deployerPrivateKey);
VaultDeployer deployer = new VaultDeployer{salt:keccak256(abi.encode(1))}();
vm.stopBroadcast();
}
}