This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Replies: 1 comment 1 reply
-
Duplicate of: https://github.com/paritytech/substrate/issues/11988 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Substrate can have meta-transaction pallet so users can execute calls without paying extrinsic fees.
What is meta transaction
Meta transactions are a way of processing transactions on blockchains without requiring the user to pay gas fees. Instead, a third party, such as a relayer, pays the gas fees on behalf of users. In other words, separating transaction signer and payer(sender) of the actual cost needed for processing transactions. This can be useful in scenarios where users may not have enough tokens to cover the cost of gas fees or where gas prices are high. This also can improve UX for new users with no funds to use Dapps on blockchains since it can omit processes for them to purchase or get tokens in some ways and brings easy onboarding.
Terminologies definition in this discussion thread
RuntimeCall
without paying extrinsic fee.Design
This is just an idea for initiating discussion.
(and also
chain_id
?)(nonce, RuntimeCall)
meta_call
Extrinsic.Origin::Signed(signer)
(not sender) after validation.In generic smart contract blockchains, this can be done by using contracts.
But using a pallet has advantages
ecdsa
,sr25519
,ed25519
) while contracts are not.But still, to be used widely, we need relayer service which receives requests from signers and send extrinsics on behalf of them outside of Substrate nodes.
Beta Was this translation helpful? Give feedback.
All reactions