Questions tagged [sui]

Sui is a decentralized Layer 1 blockchain with strong focus on asset ownership.

Sui platform seeks to provide a flexible network that you can leverage to shape the web3 landscape

The Sui platform is built on Sui Move, which is derived from the core Move programming language.

Read more in the documentation.

21 questions
0
votes
1 answer

Checking if a parameter is a literal string in sui move

I want to check if a field: string::String in a struct is the exact string. struct A has key, store { id: UID, field: string::String, } public entry fun is_field_hello(a: &A): bool { a.field == 'hello' } This is the compiler error I…
Jim
  • 450
  • 2
  • 10
0
votes
0 answers

Creation of a Verification system using Sui Move

Using the key-lock pattern in Sui by Examples, I am envisioning the creation of a verification system on Sui. A central trusted authority can build the following: 3 structs Certificate: shared-object - contained within is another object and…
Jim
  • 450
  • 2
  • 10
0
votes
0 answers

Found module argument, but function expects MutableReference

I was trying to make a move call on sui network. For that I first published a mov module of fungible token This gave me following result ----- Certificate ---- Transaction Hash: NR3rJpG11TQmOekptt/s/PuiU/RmIGSjq4XxzSo2OlU= Transaction Signature:…
Alwaysblue
  • 9,948
  • 38
  • 121
  • 210
0
votes
0 answers

How can we create transferable one-time witnesses?

I'm curious if there is a way to create a transferable OTW that passes the sui::types::is_one_time_witness(witness) test. A transferable witness needs to have the ability store (in order to be wrapped into the carrier object), which is conflicting…
calimoose
  • 115
  • 6
-1
votes
1 answer

What does gas budget mean when publishing a fungible token

What does gas budget means when publishing a fungible token? I was going Sui publishing move package. https://docs.sui.io/build/devnet#publish-a-move-module Here, They have this command sui client publish --path…
Alwaysblue
  • 9,948
  • 38
  • 121
  • 210
-2
votes
2 answers

any providers have SUI Mainnet already?

I am keen to know which RPC Node providers currently support SUI Mainnet. I am aware that GetBlock plans to add this in the near future, but I am curious if any other providers have already implemented it. Have information about GetBlock because I…
Charly El
  • 10
  • 2
1
2