Transaction Fee Sponsorship

Transaction Fee Sponsorship is a feature in sBTC that allows users to pay for Stacks transaction fees using sBTC instead of STX.

Overview

  • sBTC transactions on Stacks can be sponsored in return for some sBTC.

  • This feature improves user experience by allowing sBTC holders to use their tokens for gas fees.

Implementation

The fee sponsorship system is implemented using the approach suggested in stacks-network/stacks-core#4235.

1

sBTC users can get support from existing STX holders for transaction fees.

2

The sponsor pays the STX fee and receives sBTC in return.

User Experience

From a user's perspective:

1

Opt into fee sponsorship

When initiating an sBTC transaction, they can opt for fee sponsorship.

2

Agree to sponsorship terms

The user agrees to pay a small amount of sBTC for the sponsorship.

3

Transaction processed

The transaction is then processed with the fees paid in STX by the sponsor.

Benefits

  • Improved UX: Users don't need to hold STX to use sBTC.

  • Lower Barrier to Entry: New users can start using sBTC without first acquiring STX.

  • Flexibility: Provides an additional option for handling transaction fees.

Was this helpful?