Search looks through the written questions first. The AI only answers when nothing matches.

What is a smart contract?

Intermediate · Updated

A smart contract is a program on a chain, widely used on Ethereum, that runs when a transaction calls it. The result is recorded by the network, in the same way as a plain transfer. A token, a pool, a loan or an approval is, in practice, a call to one of these programs. The idea that "the code is the agreement" means the network executes what is written in the program, without a clerk confirming each step. Only the code that actually runs counts, including libraries and proxies, not the text of the page that introduced it.

The limit is that the program does what is written, including the bug and the back door. An admin key can change the logic after you have deposited, if the contract was built that way. A bug has no chargeback. The network does not check that the page told you the truth about what you were about to sign. Before you call a contract, confirm the address and read which function you are authorising. "Automatic" does not mean "reviewed" or "fair". It means that, after the signature, execution does not ask anyone for permission, including you.

Informational text from Criptos.ai. It is not a buy or sell recommendation, and it is not tax advice. This is general information, not financial, tax or legal advice. We do not promise gains.

In the glossary

Articles

In the Academy: Intermediate · In the Academy · In the glossary

Related questions