CoinXview PortfolioApp
EN

What is a smart contract?

A smart contract is a program on a blockchain that runs automatically when conditions are met: the foundation of DeFi, NFTs, DEXs and stablecoins.

A smart contract is a program deployed on a blockchain (Ethereum, BNB Chain, Solana…). When someone sends it a transaction, it runs exactly as coded, and nobody can change the outcome midway.

What are they used for?

Risks

This article is for general information only and is not investment advice.

Read next

What is blockchain? A simple explanation with examplesWhat a blockchain is, how it works, why it is hard to change, how it differs from a normal database; Proof of Work, Proof of Stake and today's major chains.What is DeFi? Decentralized finance and its risks explainedDeFi lets you lend, borrow and swap crypto through smart contracts, with no bank in between. Main types of DeFi, where yield comes from, and risks.CEX vs. DEX: what is the difference and which exchange to use?A CEX (Binance, OKX…) is run by a company that holds your funds; a DEX (Uniswap, PancakeSwap…) runs on smart contracts and you keep your own wallet.What is MetaMask? How to use it safely and avoid losing fundsMetaMask is a popular self-custody wallet for Ethereum and EVM networks. Install it safely, protect your seed phrase and avoid malicious signatures.

This article is for educational purposes only, not investment advice. View all lessons · Crypto glossary

All sections