-
Notifications
You must be signed in to change notification settings - Fork 344
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
Feegrant: Is it possible to implement the content of a sponsored-transactions (user A's fee is paid by user B)? #1738
Comments
There is a fee payer in transactions and a feegrant module in Cosmos SDK. I think this is what you are looking for. But this is happening on the Cosmos SDK level and is not CosmWasm specific. |
Fee grant support was discussed in #1200 but was there any further discussion on this topic? Can't find any implementation in the code. |
Here is a team that is issuing grants as a contract (i.e. contract is grantee): It's great this works but is not very convenient yet. E.g. the GRANTS need to be tracked separatly instead of being queried from chain. |
Can the I want dapp user to be able to use money from my account for |
Other devs achieve something similar by allowing the users to spend the contract's funds. In this case the contract needs to create the grant itself. Not necessarily easier but seems to be possible. |
@webmaster128 I see this function. It's actually executing By this way can user A call the methods of grantee Contract without consuming the handling fee? |
@webmaster128 I tried this and specifying grantee as the contract address doesn't work. Since it's still the user who is initiating the transaction, the fee is still paid by the user. |
Is it possible to implement the content of a sponsored-transactions on cosmwasm (user A's fee is paid by user B)
The text was updated successfully, but these errors were encountered: