Deploying contracts with Remix
Before starting
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
contract TestCounter {
int private count = 0;
function incrementCounter() public {
count += 1;
}
function decrementCounter() public {
count -= 1;
}
function getCount() public view returns (int) {
return count;
}
}

Last updated