Smart contract
A program on a blockchain that runs automatically when its conditions are met.
A smart contract is code deployed to a blockchain like Ethereum. Exchanges, lending apps and NFT collections are all built from smart contracts.
When you approve or interact with an app, you're really interacting with its smart contracts. Bugs or malicious code in a contract can put your funds at risk.