Foundry init.

This commit is contained in:
zjkree
2024-12-23 03:07:37 +01:00
parent 9d4b4151fc
commit cb3aa7cb77
4 changed files with 63 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.13;
import {Script, console} from "forge-std/Script.sol";
import {Counter} from "../src/Counter.sol";
contract CounterScript is Script {
Counter public counter;
function setUp() public {}
function run() public {
vm.startBroadcast();
counter = new Counter();
vm.stopBroadcast();
}
}