250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- bitcoin
- Ethereum
- typeScript
- useState
- error
- blockchain
- express.js
- API
- concept
- SSR
- Interface
- node.js
- evm
- 삶
- CLASS
- graphQL
- Props
- Redux
- solidity
- HTML
- JavaScript
- REACT
- hardhat
- nextJS
- CSS
- web
- tailwindcss
- built in object
- 기준
- middleware
Archives
- Today
- Total
ReasonJun
Solidity : Smart Contract rule 본문
728x90
1. SPDX - License - Identifier
ex . //SPDX-License-Identifier: MIT
: In each file of the project, add a line at the top that matches the license.
- Determine the License applied to the file
- License standardization of source code and documents
- Eliminate error-prone license header parsing
2. Pragma solidity
ex. pragma solidity >= 0.7.0 < 0.9.0;
: Indicates the solidity compiled version of the currently written smart contract. An error occurs if you use a compiler other than the predefined compiler version.
3. contract
ex. contract EX1 {}
: This is a keyword that announces the start of smart contract creation, and the name can be specified right next to it.
728x90
'Blockchain > Solidity' 카테고리의 다른 글
Solidity : constant (0) | 2023.10.15 |
---|---|
Solidity : Data Type (1) (0) | 2023.10.15 |
Solidity : storage, memory, calldata, stack (0) | 2023.10.15 |
Solidity : Variable (0) | 2023.10.15 |
Solidity : What is Solidity ? (0) | 2023.10.13 |
Comments