101 Fundamental - Roadmap (ep1. - ep.3)

2023/12/12閱讀時間約 1 分鐘

1. Build 1st smart contract

// SPDX-License-Identifier: MIT (open source)
// Software Package Data Exchange

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

  1. address - crypto wallet, smart contract
  2. string - text
  3. boolean - true, or false
  4. uint - numbers (uint8, take less space, uint256, take more space)

[ Resource ] NazWeb






尋大神腳印, 亦步亦趨。
留言0
查看全部
發表第一個留言支持創作者!