Improve your dApp’s UX with Batching or Gasless Transactions
Moonbeam has a variety of precompiles, such as the batch precompile and call permit precompile that offer powerful functionality to builders which can vastly improve the UX for dApp users. The batch precompile allows you to combine multiple smart contract calls into a single transaction. These groupings can be atomic or nonatomic at your discretion.The quintessential example of a batched transaction that simplifies the UX for end users is batching together the approval and swap transactions for DEX. Rather than a user having to confirm an approval transaction and a swap transaction, the user can confirm a single batched transaction that executes both within the same block. In this case, you’d want the batch transaction to be atomic, because there’s no need to approve an ERC-20 allowance if the swap reverts.Another possibility is to use the Call Permit Precompile. One of the most frustrating experiences for a user new to Web3 is acquiring gas to pay for transactions. You can substantially improve your dApp’s UX by eliminating the requirement that the user hold the native token for gas. Moonbeam’s call permit precompile enables you to do exactly that - with it, you can dispatch any transaction in a gasless manner which can be relayed by Biconomy.To be eligible for this bounty, your dApp should have at least some smart contract logic deployed to Moonbeam or Moonbase Alpha. Secondly, it must utilize the batch precompile or the call permit precompile (or both) to provide any non-trivial functionality to your dApp.
Getting Help - The Hackathons Channel in the Moonbeam Discord is the fastest way to get help. Of course, there will also be in-person support available during the Core Event. https://discord.com/invite/gA3YN6HmBA
JudgingAll Moonbeam bounties will be judged according to the standard ethDenver judging guidelines - that is:
Theme Fit
Originality & InnovationEase of use (UI/UX)Sustainability (marketplace viability)
Technical complexity Level of CompletionWe reserve the right to withhold prizes in cases where low-quality submissions do not meet our bounty requirements.Sponsor Bounty Judging TeamAlberto Viera, Developer Relations ManagerKatie Butler, Director of Marketing
Stephen Shelton, Senior Blockchain EngineerKevin Neilson, Developer Relations Engineer
Batch Precompile DocsIntroduction to the Batch Precompile (Video)Batching Transfers and Contract Calls (Video)Call Permit Precompile DocsIntroduction to the Call Permit Precompile (Video)Using the Call Permit Precompile to Dispatch a CallMoonbuilder's Hackathon Survival KitBounty videoJudging video
Technical - max score of 100
UX & Design - max score of 100
Innovation - max score of 100
Creativity - max score of 100
Payout Chain Ethereum