create account

Ethereum Classic World Computer Accounts & States Explained by cseberino

View this thread on: hive.blogpeakd.comecency.com
· @cseberino · (edited)
$0.04
Ethereum Classic World Computer Accounts & States Explained
![computer](https://i.imgsafe.org/be9c74a342.jpg)

The Ethereum Classic (ETC) blockchain makes possible an unstoppable, reliable, auditable, trustless and secure world computer.  To understand this system, it is important to understand *accounts* and *states*.

# Accounts

![account](https://i.imgsafe.org/bf11b98df3.png)

An account is a data structure containing an address, balance, program, memory and a nonce.  They are used by entities external to the ETC system to interact with it.  These external entities may be humans, but, they can also be Internet devices.  Accounts are also used to specify smart contracts.  It simplifies the design of ETC to use accounts for both of these purposes.

### Addresses

![address](https://i.imgsafe.org/be7ac641c1.jpg)

Accounts have unique 20 byte identifiers referred to as *addresses*.  External entities generate new account addresses from public encryption keys.  Smart contracts generate new account addresses by other means since smart contract accounts do not have public encryption keys.

### Balances

![balance](https://i.imgsafe.org/be7de5aa92.png)

Accounts can have funds.  Account funds are specified by *balances*.  Balances are typically denoted in units of aETC (10<sup>-18</sup> ETC) or weis.

### Programs

![code](https://i.imgsafe.org/be7e476d63.jpg)

Smart contract accounts have world computer *programs*.  These are also referred to as smart contract *code*.  This element is unused by external entity accounts.  Partially for security reasons, smart contract programs in accounts cannot be modified.  All other account elements however *can* be modified.

### Memories

![storage](https://i.imgsafe.org/be7bef33e8.jpg)

Smart contract accounts have *memories*.  These are also referred to as *storage*.  All smart contract memory values, and their identifiers, are 32 bytes.

### Nonces

![nonce](https://i.imgsafe.org/be13f03b68.jpg)

Accounts have counters referred to as *nonces*.  Partially to protect against replay attacks, external account nonces increment every time they add a new transaction to the blockchain.  Partially to provide variability when calculating new addresses, smart contract account nonces increment every time they add a new smart contract to the blockchain.

# States

![state](https://i.imgsafe.org/c129534fb1.png)

A *complete* description of the world computer can be given solely by the accounts!  This complete description is referred to as the *state* of the world computer.  Because the world computer is always running, the state is always changing.

# Conclusion

![understanding](https://i.imgsafe.org/c193ccc60f.jpg)

There are external entity accounts and smart contract accounts.  They completely specify the state of the world computer at all times.  If you understand all that then you have taken a significant step in mastering ETC!

# Feedback

Feel free to leave any comments or questions below.  You can also contact me by clicking any of these icons:

[![twitter](https://i.imgsafe.org/fcbc8685c1.png)](https://twitter.com/chris_seberino) [![facebook](https://i.imgsafe.org/fcbc627df9.png)](https://www.facebook.com/cseberino) [![linkedin](https://i.imgsafe.org/fcbcf09c9e.png)](https://www.linkedin.com/in/christian-seberino-776897110)

# Acknowledgements

I would like to thank IOHK (Input Output Hong Kong) for funding this effort.

# License

![license](https://i.creativecommons.org/l/by-sa/4.0/88x31.png)

This work is licensed under the Creative Commons Attribution ShareAlike 4.0 International License.
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 5 others
properties (23)
authorcseberino
permlinkthe-ethereum-classic-world-computer-accounts-and-states-explained
categoryetc
json_metadata{"tags":["etc","eth","ethereumclassic","ethereum","blockchain"],"image":["https://i.imgsafe.org/be9c74a342.jpg","https://i.imgsafe.org/bf11b98df3.png","https://i.imgsafe.org/be7ac641c1.jpg","https://i.imgsafe.org/be7de5aa92.png","https://i.imgsafe.org/be7e476d63.jpg","https://i.imgsafe.org/be7bef33e8.jpg","https://i.imgsafe.org/be13f03b68.jpg","https://i.imgsafe.org/c129534fb1.png","https://i.imgsafe.org/c193ccc60f.jpg","https://i.imgsafe.org/fcbc8685c1.png","https://i.imgsafe.org/fcbc627df9.png","https://i.imgsafe.org/fcbcf09c9e.png","https://i.creativecommons.org/l/by-sa/4.0/88x31.png"],"links":["https://twitter.com/chris_seberino","https://www.facebook.com/cseberino","https://www.linkedin.com/in/christian-seberino-776897110"],"app":"steemit/0.1","format":"markdown"}
created2017-03-30 04:24:15
last_update2017-04-03 19:31:06
depth0
children3
last_payout2017-04-06 04:24:15
cashout_time1969-12-31 23:59:59
total_payout_value0.030 HBD
curator_payout_value0.008 HBD
pending_payout_value0.000 HBD
promoted1.000 HBD
body_length3,531
author_reputation5,161,857,859,658
root_title"Ethereum Classic World Computer Accounts & States Explained"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id2,894,880
net_rshares1,329,556,979,792
author_curate_reward""
vote details (69)
@burnthamsterpub ·
Unaltered history - canonical blockchain.
👍  , ,
properties (23)
authorburnthamsterpub
permlinkre-cseberino-the-ethereum-classic-world-computer-accounts-and-states-explained-20170330t043628790z
categoryetc
json_metadata{"tags":["etc"],"app":"steemit/0.1"}
created2017-03-30 04:36:33
last_update2017-03-30 04:36:33
depth1
children0
last_payout2017-04-06 04:36:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length41
author_reputation981,366,950,578
root_title"Ethereum Classic World Computer Accounts & States Explained"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id2,894,943
net_rshares12,008,507,636
author_curate_reward""
vote details (3)
@cheetah ·
Hi! I am a robot. I just upvoted you! I found similar content that readers might be interested in:
https://ethereumclassic.github.io/blog/2017-03-30-accounts-and-states/
👍  
properties (23)
authorcheetah
permlinkcheetah-re-cseberinothe-ethereum-classic-world-computer-accounts-and-states-explained
categoryetc
json_metadata""
created2017-04-03 19:31:33
last_update2017-04-03 19:31:33
depth1
children0
last_payout2017-04-10 19:31:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length169
author_reputation942,693,160,055,713
root_title"Ethereum Classic World Computer Accounts & States Explained"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id2,933,528
net_rshares3,314,205,899
author_curate_reward""
vote details (1)
@silvia ·
nice post @cseberino
👍  
properties (23)
authorsilvia
permlinkre-cseberino-the-ethereum-classic-world-computer-accounts-and-states-explained-20170330t044058489z
categoryetc
json_metadata{"tags":["etc"],"users":["cseberino"],"app":"steemit/0.1"}
created2017-03-30 04:40:54
last_update2017-03-30 04:40:54
depth1
children0
last_payout2017-04-06 04:40:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length20
author_reputation95,959,915,020,556
root_title"Ethereum Classic World Computer Accounts & States Explained"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id2,894,963
net_rshares12,932,238,993
author_curate_reward""
vote details (1)