chore: forge init

This commit is contained in:
han
2024-12-17 11:51:37 +07:00
parent ce127dbc28
commit a77d133d8e
7 changed files with 188 additions and 0 deletions

14
fund-me/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++;
}
}