chore: forge init

This commit is contained in:
han
2025-01-16 17:37:17 +07:00
commit 5cc9af254f
7 changed files with 186 additions and 0 deletions

14
src/Counter.sol Normal file
View File

@@ -0,0 +1,14 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.13;
contract Counter {
uint256 public number;
function setNumber(uint256 newNumber) public {
number = newNumber;
}
function increment() public {
number++;
}
}