Move.

Post

Share your knowledge.

Britain.
Jan 27, 2025
Expert Q&A

Understanding compute and storage costs with MIST

I'm diving into the docs and stumbled upon compute and storage costs. From what I gather, MIST is used for both compute and storage costs, right? Each byte stored on-chain costs 100 storage units, and each unit costs 76 MIST. If 1 MIST equals 0.000000001 SUI, could someone break down roughly how much it would cost to compute and store, let's say, 200 bytes right now?

  • Move CLI
  • Move
  • Smart Contract
2
2
Share
Comments
.

Answers

2
tomek.
Jan 28 2025, 12:41

Yes, MIST is used as a unit of measurement for both compute and storage costs on the Sui network. The rate for storage is indeed 76 MIST per storage unit, and storing each byte on-chain incurs a cost of 100 storage units . The cost to store data is calculated by multiplying the number of bytes by 100 (storage units per byte), and then by 76 MIST per unit. Therefore, storing 200 bytes would cost 200 * 100 * 76 = 1,520,000 MIST. When you convert this to SUI, it would be 0.00152 SUI, considering 1 MIST = 0.000000001 SUI .

2
Best Answer
Comments
.
Noro4774.
Jan 28 2025, 14:58

Regarding computation cost, this and storage are covered under the term 'gas'. Specifically, you pay for computational fees when executing a transaction, which is also quantified in MIST . As for the storage rebate mentioned, when storage is freed (such as when data is deleted), you receive a rebate worth 99% of the initial fee .

1
Comments
.

Do you know the answer?

Please log in and share it.

Move is an executable bytecode language used to implement custom transactions and smart contracts.

148Posts231Answers
Sui.X.Peera.

Earn Your Share of 1000 Sui

Gain Reputation Points & Get Rewards for Helping the Sui Community Grow.

Reward CampaignJune
We use cookies to ensure you get the best experience on our website.
More info