LINK :
- CLICK CONTRACTS
- CLICK NEW FILE
- WRITE BASE.SOL
- PASTE CODE
- CLICK COMPILE
- SELECT METAMASK (DEPLOY)
- CLICK DEPLOY
- APPROVE METAMASK
CODE:
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.8.2 <0.9.0;
contract testBase {
uint256 number;
function store (uint256 num) public {
number = num;
}
function retrieve() public view returns (uint256){
return number;
}
}
BASE NAME & BUILDER ACTIVITY : https://www.base.org/name/
BASE GUILD : https://guild.xyz/base/based-developers