Post
Share your knowledge.
Nov 27, 2024
Expert Q&A
SUI transfer in Smart Contract code
How can I correctly implement the transfer of SUI to a specific wallet address using smart contract code?
- Move CLI
- Smart Contract
3
3
Share
Comments
Answers
3Dominikus 36
Nov 27 2024, 21:55You can find a detailed explanation and examples in the Move book (https://move-book.com/storage/storage-functions.html#transfer).
1
Best Answer
Comments
Nov 28 2024, 01:30
To send any object to a specific wallet address through your smart contract, you can use the transfer::public_transfer
function provided by the Sui framework.
2
Comments
deriss55
Nov 27 2024, 19:23Ensure that you are using a mutable coin type in your function parameters, i.e., coin: &mut Coin<SUI>
.
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.
32Posts54Answers
Trending posts