Move.

帖子

分享您的知识。

Britain.
Jan 27, 2025
专家问答

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
分享
评论
.

答案

2
tomek.
Jan 28 2025, 12:41

是的,MIST 用作 Sui 网络上计算和存储成本的计量单位. 存储速率确实是每个存储单元76 MIST,在链上存储每个字节会产生100个存储单元的成本. 存储数据的成本的计算方法是将字节数乘以 100(每字节存储单元),然后乘以每单位 76 MIST. 因此,存储 200 字节将花费 200 * 100 * 76 = 1,520,000 MIST. 考虑到 1 MIST = 0.000000001 SUI,当你将其转换为 SUI 时,它将是 0.00152 SUI.

2
最佳答案
评论
.
Noro4774.
Jan 28 2025, 14:58

关于计算成本,这和存储在 “气体” 一词的涵盖范围内. 具体而言,您需要在执行交易时支付计算费用,这在 MIST 中也可以量化. 至于提到的存储折扣,当存储空间被释放时(例如删除数据时),您将获得相当于初始费用99%的折扣.

1
评论
.

你知道答案吗?

请登录并分享。

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

148帖子231答案
Sui.X.Peera.

赚取你的 1000 Sui 份额

获取声誉积分,并因帮助 Sui 社区成长而获得奖励。

奖励活动七月