Files
tokenbound/script/DeployAccount.s.sol
2023-04-13 15:26:06 -04:00

23 lines
620 B
Solidity

// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.13;
import "forge-std/Script.sol";
import "../src/Account.sol";
contract DeployAccount is Script {
function run() external {
uint256 deployerPrivateKey = vm.envUint("TESTNET_ACCOUNT_DEPLOYER");
vm.startBroadcast(deployerPrivateKey);
new Account{
salt: 0x6551655165516551655165516551655165516551655165516551655165516551
}(
0xB0219b60f0535FB3B62eeEC51EC4C765d138Ac0A, // guardian
0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789 // entry point
);
vm.stopBroadcast();
}
}