Post
Share your knowledge.
Does Sui use UTXO model?
Is Sui using a UTXO model, account-based model, or a combination of both?
- Sui
- Architecture
Answers
9Sui's object-oriented data model is neither UTXO nor account-based, rather a combination of both.
You don’t interact with Sui through the UTXO or traditional account-based model at all—Sui uses an object-based model where every coin, NFT, or resource is treated as an object with a unique ID, owner, and version. Unlike UTXO systems like Bitcoin, you don’t spend outputs, and unlike Ethereum, you don’t manage a single global account balance. Instead, when you make a transaction, you consume specific objects, update their versions, and possibly create new ones, with ownership enforced by the Move language. This design gives you higher parallelism and prevents double spends naturally, since the same object can’t be used in two transactions at the same time. Read more: https://docs.sui.io/learn/architecture/objects
no bro Sui is object-centric model. Everything is object it not related to UTXO model
Sui's object-oriented data model is neither UTXO nor account-based, rather a combination of both.
Sui doesn't exactly use the traditional UTXO (Unspent Transaction Output) model or the account-based model. Instead, it utilizes an innovative object-oriented data model, where everything on the blockchain is treated as an object with unique properties, ownership rights, and the ability to be transferred or modified ¹.
In Sui's object-oriented model ¹ ²:
- Objects are primary storage units: Each object has a globally unique 32-byte identifier, derived from the transaction digest that created it and a specific index.
- Object ownership: Objects can have specific abilities like key, store, copy, and drop, which dictate their interaction and lifecycle. This model enables definitive access control and verifiable assumptions about object interactions.
- Parallel transaction execution: Sui identifies dependencies upfront through ownership, allowing for parallel processing of independent transactions without unnecessary waiting.
Sui's object model is somewhat similar to UTXO, as both involve distinct and separable units of value. However, Sui's objects are more versatile and can represent complex assets, data, or contracts, whereas UTXOs are primarily used for simple currency transfers ¹ ³.
Some key benefits of Sui's object-oriented model include ²:
- Scalability: Sui can handle large volumes of transactions efficiently due to parallelization.
- Flexibility: The object-oriented model makes it easier for developers to build high-performance and adaptable blockchain applications.
- Security: Sui's object model enhances security through verifiable access control and reduces attack vectors.
Overall, Sui's object-oriented data model represents a paradigm shift in blockchain architecture, offering a promising foundation for future innovation and development.
Sui doesn't use the traditional UTXO (Unspent Transaction Output) or account-based models you find on blockchains like Bitcoin and Ethereum. Instead, it has a unique "object-centric" model. In this system, everything on the network is considered an "object" with its own unique ID. This includes not only tokens and NFTs, but also the smart contracts themselves. The object model is a core part of Sui's design that allows it to achieve parallel transaction execution. Because the network can easily identify which objects a transaction will affect, it can process many transactions at the same time without them interfering with each other, which is different from the sequential processing required by other models. This design is what enables Sui to have high throughput and low latency, making it particularly suitable for applications that require fast, real-time interactions, like gaming.
To understand more about Sui's object-centric model, you can read more here: https://docs.sui.io/concepts/object-model
Do you know the answer?
Please log in and share it.
Sui is a Layer 1 protocol blockchain designed as the first internet-scale programmable blockchain platform.
- How to Maximize Profit Holding SUI: Sui Staking vs Liquid Staking616
- Why does BCS require exact field order for deserialization when Move structs have named fields?65
- Multiple Source Verification Errors" in Sui Move Module Publications - Automated Error Resolution55
- Sui Move Error - Unable to process transaction No valid gas coins found for the transaction419
- Sui Transaction Failing: Objects Reserved for Another Transaction410