Menu

1 / 3

DUST Sponsorship on Midnight: How One Wallet Pays Fees for Another User's Transaction

DEV Community·Uroy Nwankwo·5 months ago
#cwW7jsP2
#mistake#backend#dust#sponsor#wallet
Reading 0:00
15s threshold

DUST sponsorship on Midnight lets a backend wallet pay transaction fees for users who do not have DUST yet. Every transaction on Midnight consumes DUST, a shielded, non-transferable capacity resource generated by holding NIGHT tokens. That design keeps fees predictable and privacy intact, but it creates onboarding friction: a brand-new wallet holds zero DUST. Without DUST, it cannot submit a single transaction, including the first one a user might want to make in your DApp.

DUST cannot be sent from one wallet to another. You cannot airdrop it, and there is no transferDUST() call.

The only way to cover fees for a wallet that has no DUST is through sponsorship .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.