Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sponsored Fees #1068

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Sponsored Fees #1068

wants to merge 1 commit into from

Conversation

Nana-EC
Copy link
Contributor

@Nana-EC Nana-EC commented Oct 25, 2024

Description:
This HIP proposes an expansion to the approval and allowance network logic (e.g.CryptoApproveAllowance ) by allowing any account on the network to sponsor the payment of the fees for another account’s submitted transactions. In this way account Alice may assign an HBAR / token transaction fee allowance for EOA account Bob or Contract account Carol and pay the fees due to nodes, the network and accounts for any transactions they submit, thus allowing Bob or Carol to have zero balance and still transact on chain.

This proposal extends the existing Approval and Allowance API by adding 2 new allowance types (TransactionFeeAllowance and CustomFeeAllowance) that inform the delegation of fee payments to another account without requiring one-off approval for each transaction. This feature enhances flexibility and efficiency in managing transaction costs, particularly for high volume applications.

Related issue(s):

Fixes #912

Notes for reviewer:
Expect more changes soon.
There's an outstanding item to condense the Allowances types to instead be scopes on the existing allowances as a cleaner API form

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

Signed-off-by: Nana Essilfie-Conduah <[email protected]>
Copy link

netlify bot commented Oct 25, 2024

Deploy Preview for hedera-hips ready!

Name Link
🔨 Latest commit 7a8835f
🔍 Latest deploy log https://app.netlify.com/sites/hedera-hips/deploys/671b2142aacb84000800a87f
😎 Deploy Preview https://deploy-preview-1068--hedera-hips.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Nana-EC Nana-EC self-assigned this Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant