스마트 계약 (Smart Contract)
스마트 컨트랙트는 코드 라인에 직접 작성되어 블록체인에 존재하며 자동으로 실행되는 자체 실행 계약입니다.
탈중앙화 금융(DeFi)의 핵심으로, 복잡한 금융 거래를 사람의 개입 없이 프로그래밍된 대로 안전하고 투명하게 처리합니다.
graph LR
Center["스마트 계약 (Smart Contract)"]:::main
Rel_decentralization["decentralization"]:::related -.-> Center
click Rel_decentralization "/terms/decentralization"
Rel_decentralized_exchange_dex_order_book_aggregation["decentralized-exchange-dex-order-book-aggregation"]:::related -.-> Center
click Rel_decentralized_exchange_dex_order_book_aggregation "/terms/decentralized-exchange-dex-order-book-aggregation"
Rel_flash_loan["flash-loan"]:::related -.-> Center
click Rel_flash_loan "/terms/flash-loan"
classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
linkStyle default stroke:#4b5563,stroke-width:2px;
🧒 5살도 이해할 수 있게 설명
디지털 자판기와 같습니다. 정해진 규칙(동전 투입 등)을 따르면 주인 없이도 자동으로 물건이 나오는 원리를 온라인에 구현한 것입니다.
🤓 Expert Deep Dive
이더리움의 EVM에서 실행되는 튜링 완전한 프로그램입니다. '가스(Gas)' 비용을 통해 무한 루프를 방지하며, 블록체인의 투명성과 불변성을 활용하여 신뢰를 구축합니다.