Files
contract/script/Deploy.sol
2023-09-21 16:51:57 -04:00

18 lines
534 B
Solidity

// SPDX-License-Identifier: UNLICENSED
pragma solidity =0.7.6;
import "forge-std/Script.sol";
import "../src/VaultDeployer.sol";
import "forge-std/console2.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();
console2.log('VaultDeployer');
console2.log(address(deployer));
}
}