1. Build 1st smart contract
pragma solidity 0.8.23;
contract Hello {
string public welcome = "Hello World";
}
2. Variables
- Variables use to store data in our program
address, string, uint, bool
- address - crypto wallet, smart contract
- string - text
- boolean - true, or false
- uint - numbers (uint8, take less space, uint256, take more space)
[ Resource ] NazWeb