Sui.

Trending

Discover the hottest posts.

Posts

407
  • yhant3.Peera.
    ForSuiDec 08, 2024
    Discussion

    How to access and manage nested structs and dynamic fields in Move?

    How to access and manage nested structs and dynamic fields in Move?

    • Sui
    • Move
    5
    6
    Best Answer
  • deriss.Peera.
    ForSuiDec 19, 2024
    Expert Q&A

    How to convert private key to new format via CLI

    How can I convert my old private key to a new format and change from Hex to Bech32 using the Sui CLI?

    • Sui
    • Move
    4
    3
    Best Answer
  • Tawhid.Peera.
    ForMoveJan 29, 2025
    Expert Q&A

    How to bypass rate limit on local full node setup?

    I've set up a full node locally and I'm sending requests to it, but I run into a 429 rate limit error. I'm trying to fetch object information using the sui_multiGetObjects method, but the server returns an error when I exceed 50 objects. This happens even when running requests on the same machine. Is there a way to get rid of this rate limit, or is it hardcoded in the node setup? Are nodes from the official config supposed to have no rate limits?

    • Move CLI
    • Move
    4
    3
    Best Answer
  • andreweth..Peera.
    ForSuiDec 12, 2024
    Expert Q&A

    Sui memes DEX options and chart

    What are the available DEX options for Sui memes and do they support in-wallet charts like JUPag in Phantom?

    • Architecture
    • SDKs and Developer Tools
    4
    4
  • farshad.Peera.
    ForMoveFeb 05, 2025
    Expert Q&A

    Why do I keep getting 'MoveAbort' error in signAndExecuteTransaction?

    I'm trying to make swaps using the functions client.findRouters, client.fastRouterSwap, and client.signAndExecuteTransaction but frequently encounter the 'MoveAbort' error. My balance seems stable at 100+ SUI, yet 1 out of 10 transactions fails. This error still persists after restoring the blockchain. How can I figure out what's going wrong?

    • Move CLI
    • Move
    • Move Module
    4
    3
    Best Answer
  • tomek.Peera.
    ForSuiJan 29, 2025
    Expert Q&A

    How to update coin logo on Sui smart contract?

    I'm trying to update the coin logo on a deployed smart contract on SuiCoins.com, but I've hit a roadblock because the contract is immutable. Are there any possible workarounds or methods like using proxy contracts or implementation contracts to change the logo so it reflects on platforms like suiscan or suivision?

    • Sui
    3
    2
    Best Answer
  • article banner.
    Bahador.Peera.
    ForSuiMar 10, 2025
    Article

    How Transactions Work in Sui

    One of the cool things that attracted me to the SUI chain is the working manner of transactions, so in this article, we are going to get some knowledge about how transactions work in the SUI blockchain. Every transaction in Sui explicitly lists which objects it will read or modify. Because each object is independent, the Sui validators can easily check the list of objects for each incoming transaction​. This helps the system decide which transactions can run simultaneously: Independent transactions (no overlapping objects): If two transactions involve completely different objects, they do not conflict with each other. Sui knows these won’t interfere, so it can execute them at the same time in parallel​. For example, one transaction might update Alice’s coin object while another might transfer Bob’s NFT object – since these are separate objects, there’s no need to wait for one before doing the other. Conflicting transactions (shared objects): If two transactions try to use the same object, they conflict and cannot be executed at the exact same moment. Sui will handle this by ordering and executing those particular transactions one after the other to avoid any confusion or double-spending​. In this case, the network’s consensus mechanism comes into play to decide a fair order for the transactions that touch the same data. Only the transactions that conflict are ordered; all other independent transactions can proceed in parallel without waiting. In essence, Sui’s transaction model separates “simple” transactions from “dependent” ones. Simple transactions that affect only a single owner’s objects can often be processed very quickly without involving the whole network in heavy coordination​. More complex transactions (for example, ones interacting with a shared smart contract object that many users might use) go through a traditional ordering process (consensus) to ensure they don’t conflict with each other​. This way, Sui only uses global consensus when it’s truly needed, and it can let most transactions fly through concurrently when there are no overlaps in the data they touch. Parallel Execution in Sui vs. Traditional Blockchains On traditional blockchains like Bitcoin or Ethereum, transactions are processed sequentially (one after the other). Even if two transactions have nothing to do with each other, a sequential system will still put one in line behind the other, creating unnecessary waiting​. This is like having a single checkout register at a store – even customers buying different items must stand in the same queue. It causes congestion and slows things down during busy periods​. Sui takes a different approach by allowing the parallel execution of transactions. This is analogous to having many checkout counters open: multiple transactions can be handled at the same time as long as they are independent, which vastly improves throughput and efficiency​. Because of Sui’s object-centric design, operations on one object do not impact or delay operations on another object​ . Validators in the Sui network can leverage multiple CPU cores and threads to execute several transactions simultaneously, much like processing multiple tasks in parallel on a computer. The result is a significant boost in scalability – Sui can handle a large number of transactions per second without breaking a sweat​. Tests have demonstrated that Sui’s approach can support massive throughput (on the order of hundreds of thousands of transactions per second) thanks to this parallelism​. Equally important, parallel execution reduces latency for individual transactions, meaning users see their transactions confirmed faster because they aren’t stuck waiting behind unrelated transactions​. Overall, Sui’s parallel execution model eliminates the bottlenecks that plague single-threaded (sequential) blockchains, enabling the network to scale up and handle workloads that would overwhelm traditional designs​. Finality and Confirmation Speed Finality refers to how quickly a transaction is irreversibly confirmed (i.e. once confirmed, it won’t be reverted). Sui is designed for quick finality, often reaching confirmation in a fraction of a second​. In practice, a typical Sui transaction can be confirmed in around 300–500 milliseconds (well under one second) once it’s processed – essentially near-instant for the user. This is much faster than many older blockchains. For comparison, Ethereum’s network usually needs on the order of several seconds to minutes to truly finalize a transaction (Ethereum blocks are around ~12 seconds apart, and it may take a couple of blocks or more for high confidence), while Bitcoin might require dozens of minutes (due to 10-minute block times and multiple confirmations) for a transaction to be considered final. Sui’s modern consensus and parallel execution give it a major speed advantage: transactions on Sui are confirmed almost immediately after you send them​. There’s no long wait for a new block to include the transaction or for multiple confirmations. In short, Sui provides sub-second finality, which means users can send a transaction and see it permanently settled right away. This fast confirmation is especially beneficial for applications like gaming, real-time finance, or retail payments, where waiting even tens of seconds could be too slow. Sui delivers confidence to the user quickly, making the blockchain feel much more responsive compared to traditional chains.

    • Sui
    • Architecture
    • Transaction Processing
    3
  • farshad.Peera.
    ForMoveJan 19, 2025
    Expert Q&A

    How to create multi-level subdomains using SuiNS?

    I've been trying to create nested subdomains using SuiNS, and I'm confused about the maximum depth allowed. Despite the documentation stating that the total nesting depth can be 10 levels (including SLD and TLD), I'm getting an error when trying to create a 4th-level subdomain. The error mentions an invalid parent object. Can someone explain the limitation and how to properly create deeper nested subdomains?

    • Move CLI
    • Move
    3
    2
  • Bolke .Peera.
    ForSuiJan 30, 2025
    Expert Q&A

    Can sender address be gas owner instead of recipient?

    I'm trying to avoid a trace of my sender address and receiver wallet. My idea is to make the sender the 'gas object owner' instead of the recipient. Is that possible when sending funds to a Binance wallet, and how can a 'sponsor' be involved without being identified?

    • Sui
    • Architecture
    3
    2
    Best Answer
  • elfDani.Peera.
    ForSuiDec 03, 2024
    Expert Q&A

    Can you export an official Sui wallet to Razor or other Sui wallets?

    Can you export an official Sui wallet to Razor or other Sui wallets? How can this be done if the account was created with Google?

    • Sui
    • Architecture
    3
    2
    Best Answer
We use cookies to ensure you get the best experience on our website.
More info