Glossary term

Smart contract

Definition

A program deployed on a blockchain that executes automatically according to predefined rules. Bugs in its code can lead to loss of funds.

Example

When you swap tokens on a DEX, it is a smart contract, not a company employee, that takes your tokens and sends back the other ones according to its code.

Related terms

Where to see it on the site

All terms