gnolang / gno

Gno: An interpreted, stack-based Go virtual machine to build succinct and composable apps + Gno.land: a blockchain for timeless code and fair open-source.
https://gno.land/
Other
883 stars 367 forks source link

Proposal: Integrate Sponsor Mechanism for Transaction Fees #2152

Open linhpn99 opened 4 months ago

linhpn99 commented 4 months ago

Description

Summary

I propose the addition of a sponsorship mechanism for transaction fees on Gno.land, allowing third-party addresses to cover gas fees for transactions. This feature would enhance user experience by enabling transactions without requiring the sender to have sufficient funds for gas, similar to the Gas Station Network (GSN) on Ethereum.

Motivation

The primary motivation behind this proposal is to lower the barrier to entry for new users and improve usability. By allowing sponsors to pay for transaction fees, we can facilitate a smoother onboarding process for users who might not have native tokens but want to interact with the blockchain.

Usecase

  1. Onboarding New Users to Decentralized Applications (dApps): A new decentralized finance (DeFi) platform wants to attract users who are unfamiliar with blockchain technology. By sponsoring their initial transactions, the platform can allow users to explore its features without needing to acquire native tokens.

  2. Gaming and NFTs: A blockchain-based game wants to improve user retention by eliminating upfront costs associated with minting NFTs or participating in in-game transactions.

  3. Promotional Campaigns: A company launches a marketing campaign where users can claim digital collectibles or special offers through blockchain transactions.

  4. Subscription-Based Services: A subscription service for premium content or tools wants to offer a free trial period without users needing to handle transaction fees.

  5. Educational Platforms: An educational platform provides blockchain courses and wants to allow students to perform transactions as part of their learning without bearing the cost.

  6. Loyalty Programs and Rewards: A retail company implements a blockchain-based loyalty program where customers earn points for purchases that can be redeemed for rewards or discounts.

  7. Community and Governance Participation: A decentralized autonomous organization (DAO) wants to increase participation in its governance by eliminating the cost of submitting votes or proposals.

  8. Trialware and Freemium Models: A software provider offers a freemium model where basic features are free, but advanced features require a subscription.

Our Design

SponsorTransaction_Flow (3)

Security Considerations

Testing:

Benefits

Potential Drawbacks

Conclusion

Integrating a sponsorship mechanism for transaction fees would significantly improve user accessibility and experience on Gno.land. I look forward to the community's feedback and discussion on this proposal.

References

Gas Station Network (GSN) on Ethereum Sponsored Transactions on SUI