← All films
Foundations / Explained visually
A program with assets at stake
What smart contracts do, why apps need permissions, and where the risks enter the picture.
Prefer to read?
The idea,
in words.
Rules written as code
A smart contract is a program stored on a blockchain. It responds to transactions according to its code.
An exchange of tokens
A token swap can use a contract to calculate and execute an exchange. The result depends on the rules and current state.
Automatic is not infallible
Code can contain bugs. Some contracts depend on administrators or external data. An audit reduces uncertainty but does not guarantee safety.
Read the permission
Before signing, identify the contract, intended action and any spending permission. A familiar interface does not make the underlying operation safe.