Intro

In the previous article, we created a simple blockchain from scratch, covering the fundamentals of blocks, hashing, and chain validation, but we left our transactions in a very primitive way. So, today we’ll fix them, but before we do, we need to dive deeper into one of the most critical components of any blockchain system: accounts and state management.

Accounting models

There are two most popular accounting models for blockchains: UTXO and account-based.

It’s worth mentioning that Sui blockchain implements a different approach — an object-centric data model, where everything is an object, but to my taste it’s more like a customised UTXO model than truly something new.

UTXO

UTXO (…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help