Peera.

Unanswered

Share your insights and expertise.

Posts

53
  • Owen.Peera.
    Owen496
    ForSuiJun 11, 2025
    Expert Q&A

    How to update a merchant's key in ObjectTable when it changes in the struct?

    Hi everyone, I'm just getting started with writing smart contracts and I'm working on my very first project. I'd love some help with an issue I'm stuck on. So far, I’ve created a Merchant struct that looks like this: id: a unique identifier (UID) owner: the address of the merchant key: a String used as a unique key balance: a u64 representing their balance I also made a MerchantRegistry struct to manage all merchants: id: another UID merchant_to_address: an ObjectTable mapping addresses to merchants merchant_to_key: an ObjectTable mapping keys to merchants I want to be able to look up a merchant either by their address or by their key. When a user updates their key inside the Merchant struct, the change doesn’t automatically update the key in the merchant_to_key table. That means the old key still points to the merchant, which breaks things. I tried removing the entry from the table and inserting it back with the new key, but I keep running into errors like: "Cannot ignore values without drop ability" I'm pretty sure this is a beginner mistake, but I haven't been able to find a clear explanation or solution anywhere. Is there a proper way to handle updating the key in both the struct and the lookup table?

    • Sui
    • Move
    5
    0
  • 0xduckmove.Peera.
    ForSuiJun 06, 2025
    Expert Q&A

    Whats the easiest frontend to upload walrus blobs?

    just a simple ui to upload to walrus? (besides tusky)

    • Sui
    • SDKs and Developer Tools
    2
    0
  • 0xc348...79f3.Peera.
    ForFunctionlandApr 14, 2025
    Expert Q&A

    Setting up NAS or BAS

    While trying to use my tower as a NAS I followed the instructions, but this is the result: PS C:\WINDOWS\system32> ssh pi@fulatower ssh: Could not resolve hostname fulatower: Host is onbekend. PS C:\WINDOWS\system32> ssh pi@192.168.1.150 ssh: connect to host 192.168.1.150 port 22: Connection timed out

    • BAS
    0
    0
  • 1 Luca.Peera.
    ForSuiApr 09, 2025
    Discussion

    What happens if I don't claim ETH via Sui bridge?

    I've been using the Sui bridge to transfer some ETH but haven't claimed it yet because the fees are quite high. What will happen if I leave it unclaimed?

    • Sui
    0
    0
  • MetaInvestor.Peera.
    ForMoveMar 29, 2025
    Expert Q&A

    Is it easy to learn Move after solidity?

    I know solidity and have made some projects on it,I was wondering if it would be easy for me to learn Move and that to in less time..like less than a month?

    • Move
    • Smart Contract
    • Move Script
    0
    0
  • MetaInvestor.Peera.
    ForSuiMar 29, 2025
    Discussion

    Is it profitable to make dapps services (like games ) on sui?

    Guys I was wondering if it was profitable to make dapps services like games, nft marketplaces, dex on sui?Plus how much cost rouphly would that be to deploy?

    • Sui
    • Architecture
    • Security Protocols
    • NFT Ecosystem
    0
    0
  • MetaInvestor.Peera.
    ForMoveMar 29, 2025
    Discussion

    Best place to learn Move for beginners?

    Guys I want to make dapps on sui and was wondering if anyone can give the best place to learn move lang

    • Move
    • Move Script
    0
    0
  • MetaInvestor.Peera.
    ForSuiMar 29, 2025
    Discussion

    How does NFT work on sui?

    Guys I was wondering if the nfts on sui have the same features and work the same way as in EVM chains. And can their be NFT marketplace built in sui too?

    • Sui
    • Architecture
    • NFT Ecosystem
    0
    0
  • MetaInvestor.Peera.
    ForSuiMar 29, 2025
    Discussion

    How does NFT work on sui?

    Guys I was wondering if the nfts on sui have the same features and work the same way as in EVM chains. And can their be NFT marketplace built in sui too?

    • Sui
    • Architecture
    • NFT Ecosystem
    0
    0
  • MetaInvestor.Peera.
    ForSuiMar 29, 2025
    Discussion

    Pump.fun on sui?

    Guys I am very new to sui and was wondering if there was a token system ob sui? Just like pump.fun system on solana it would be great to have in sui... it would be better due to high speed of sui. Please send the link of the website and genrally how much $ it takes to buy/sell, or make a token on sui. ThankYou

    • Sui
    • Architecture
    • Transaction Processing
    0
    0