What is a smart contract?
A smart contract is a program stored on a blockchain such as Ethereum that runs when someone sends it a transaction.
Crypto Q&ABeginner
0 of 40 watched
- What it means
- Every node runs the same code and gets the same result, so no company is needed in between: a swap contract, for example, takes ETH in and sends tokens back. The code runs exactly as written, including any mistakes.
- What to watch
- Many large crypto hacks used a bug in a smart contract; an audit lowers that risk but does not remove it.
More in Crypto Q&A
Up nextWhat is an ERC-20 token?ERC-20 is the standard rulebook for tokens on Ethereum; each token is a smart contract that keeps a list of balances.
What is an NFT?An NFT, or non-fungible token, is a token with its own unique number, unlike coins where every unit is the same.
What is the difference between a coin and a token?A coin is the native asset of its own blockchain, such as BTC, ETH or SOL; a token is created on an existing blockchain by a smart contract or program.
Free guides and tools:Crypto taxCrypto basics