Move.

帖子

分享您的知识。

Theoremus.
Dec 03, 2024
专家问答

How to create one-time witness in Move module

How can I create an OTW and pass the check is_one_time_witness function(in create_currency function) for testing in Sui Move?

  • Move Module
  • Move Bug
1
1
分享
评论
.

答案

1
farshad.
Dec 3 2024, 23:30

你可以使用这个create_treasury_cap_for_testing函数来解决这个问题.

1
最佳答案
评论
.

你知道答案吗?

请登录并分享。

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

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

赚取你的 1000 Sui 份额

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

奖励活动七月