Contract Accounts

Published by Mario Oettler on

Last Updated on 7. August 2023 by Mario Oettler

A contract account is controlled by its code. You can think of a contract like a script. The commands in this script are executed by the Ethereum Virtual Machine (EVM). Contract accounts don’t have a private key. They are either invoked by a transaction (from an EOA) or a message (from another contract account).

Contract accounts can:

  • receive, hold, and send ETH (to EOAs or other contract accounts)
  • interact with other contract accounts by sending messages (they are not signed)
  • write to and read from its storage

Creating a contract account costs gas since storage is occupied during the creation.

Contract accounts get only activated through a transaction or a message.

Categories:

https://blockchain-academy.hs-mittweida.de/wp-content/uploads/2021/04/logo_bcam_rgb_gross.png

Welcome

Blockchain Academy

Continue with credential

No account yet?

Powered by Hidy

Register with Hidy


Register
Sign in

We need the following credential to register:

please select:

To create a new account, we need the following data from you:

We would appreciate the following additional information from you for the creation of your account:

Welcome

Blockchain Academy

Continue with credential

Already have an account?

Powered by Hidy

Sign in with Hidy


Register
Sign in

We need the following credential to log in:

please select: