Sui.

Допис

Діліться своїми знаннями.

Bolke .
Jan 30, 2025
Питання та відповіді експертів

Can sender address be gas owner instead of recipient?

I'm trying to avoid a trace of my sender address and receiver wallet. My idea is to make the sender the 'gas object owner' instead of the recipient. Is that possible when sending funds to a Binance wallet, and how can a 'sponsor' be involved without being identified?

  • Sui
  • Architecture
3
3
Поділитися
Коментарі
.

Відповіді

3
hohm.
Feb 5 2025, 11:01

Так, це можливо залежно від SDK, який ви використовуєте. Наприкладpysui, якщо «спонсор» не ідентифікований, транзакція оплачується відправником, а газ використовується з рахунку Sui відправника. Крім того, ви можете надати «спонсора», і газ буде взято з їхнього рахунку; однак «спонсор» повинен буде підписати транзакцію.

3
Найкраща відповідь
Коментарі
.
Xavier.eth.
Jan 31 2025, 00:29

Транзакції Sui є загальнодоступними, тобто деталі транзакції видимі іншим. Щоб уникнути відстеження, ви можете розглянути такі рішення, як докази нульового знання, які можуть запропонувати певну анонімність, хоча вони складні і можуть бути безпосередньо не застосовні до всіх сценаріїв.

2
Коментарі
.
Vhekee.
Aug 27 2025, 00:27

Yes, on the Sui network, it's possible for the sender address to be the gas owner instead of the recipient. This can be achieved through a sponsored transaction, where one party pays for the gas fees while another party executes the transaction.

Sponsored Transactions:

  • Sponsorship: A sponsor (gas owner) can pay for the gas fees, while the sender (or another party) executes the transaction.
  • Anonymity: By using a sponsored transaction, you can potentially maintain anonymity between the sender and the gas owner.

Implementing Sponsored Transactions:

  • dApp-kit: Utilize the @mysten/dapp-kit library to create sponsored transactions. This library provides tools for building and executing sponsored transactions.
  • Transaction Structure: When building the transaction, specify the sponsor as the gas owner. This will allow the sponsor to pay for the gas fees while the sender executes the transaction.

Key Considerations:

  • Sponsor Trust: Ensure the sponsor is trustworthy, as they will be paying for the gas fees.
  • Transaction Complexity: Sponsored transactions can be more complex to implement, requiring additional logic and infrastructure.

Binance Wallet Compatibility:

  • Sponsored Transaction Support: Verify that Binance Wallet supports sponsored transactions. If it does, you can use this feature to send funds with the sender as the gas owner.

By using sponsored transactions, you can potentially maintain anonymity between the sender and the gas owner. However, ensure you understand the complexities and trust requirements involved in sponsored transactions [1].

1
Коментарі
.

Ви знаєте відповідь?

Будь ласка, увійдіть та поділіться нею.