Skip to main content

Glossary · Definition

Constructor

A constructor is a special function in a smart contract that runs exactly once, at the moment the contract is deployed, to set up its starting values.

Read the full entry with a CryptoBipto membership

The full entry for Constructor covers the detailed definition, how it works, an example and the mistakes beginners make.

CryptoBipto is a crypto education platform. It does not buy, sell, hold or send cryptocurrency for anyone, and it does not give financial advice.