Smart Contract
Ein Smart Contract ist eine sich selbst ausführende Vereinbarung, deren Bedingungen direkt in Codezeilen geschrieben sind, auf einer Blockchain residiert und automatisch durchgesetzt wird.
Smart Contracts ermöglichen vertrauenslose Transaktionen in DeFi und DAOs. Sie sind unveränderlich und transparent.
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;
🧒 Erkläre es wie einem 5-Jährigen
Wie ein digitaler Verkaufsautomat: Geld rein, Produkt raus – automatisch und ohne dass ein Ladenbesitzer prüfen muss.
🤓 Expert Deep Dive
Smart Contracts sind turing-vollständig (EVM). Gas-Gebühren verhindern Endlosschleifen. Sicherheitspatterns wie 'Checks-Effects-Interactions' sind kritisch gegen Exploits.