Smart Contract: EOSIO vs EVM | Lesson-2

How to define a Constructor

Abhijit Roy
Jun 29, 2021

Hi everyone,

Welcome to another lesson of this series.

Constructor is an important part of a contract layout.


In EOSIO, the contract is deployed onto an account (already created before). So, the filename, contract name, account name has to match [RECOMMENDED]

In ETH, the contract name has to be matched with the filename. So, here the contract address is not known beforehand. It is generated during contract deployment.

So, here it is:

EOSIO vs ETH — define a constructor

That’s it for now…

Follow me on:
Email —
Github —
Telegram —
Steemit —
LinkedIn —
Twitter —
Medium —
Fiverr —
Facebook —



Abhijit Roy

Blockchain (Rust, Solidity, C++, JS/TS) || Data Science (Python) || Bot (Python) || Backend (JS, TS)