Manual Smart Contract Deployment
What is Remix?
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
contract TestBitRockSimpleCounter {
int private count = 0;
function incrementCounter() public {
count += 1;
}
function decrementCounter() public {
count -= 1;
}
function getCount() public view returns (int) {
return count;
}
}Compile Code
Deploy and view on Omnia Explorer
The smart contract is ready to be used
Last updated



