Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Proposal: JS Module that Implements Fee Delegation Transaction Mechanism #32

Open
PaulElisha opened this issue May 17, 2024 · 3 comments
Assignees
Labels
approved approved to proceed proposal a proposal for something new

Comments

@PaulElisha
Copy link
Contributor

Description

  • A Javascript Module that implements Fee Delegation Transaction Mechanism using Caver-js to call functions such as: signTransaction and sendTransaction for usage in Frontend Applications. A Klaytn developer can run this in a full frontend application to ensure the handling of gas fees payment is abstracted and in a single click.

Bounty track

@zxstim
Copy link
Collaborator

zxstim commented May 17, 2024

Ok. Here are some requirements:

  • React. So if you can turn that into a hook or just a util function are ok.
  • Include a simple react app with any frameworks of your choice. I only need the necessary components to demonstrate the action described above.
  • No need for styling even. But i want you to focus on UX, ie. my experience when i use the frontend application (not UI which is fancy design, we don't need that here). basically careful handling of states and easy to understand flow.

Anyway, approved to proceed. Revert back here with repo github link and deployed frontend app (use any deployer you like, cloudflare, vercel, etc.)

@zxstim zxstim added proposal a proposal for something new approved approved to proceed labels May 17, 2024
@PaulElisha
Copy link
Contributor Author

Okay, thank you.

@PaulElisha
Copy link
Contributor Author

PaulElisha commented May 19, 2024

  1. React Hook for Fee Delegation -- https://github.com/PaulElisha/Klaytn_FeeDelegationHook/
  2. ZX-stim Fee Delegation Frontend App Refactored PR -- refactored code and handle errors properly zxstim/klaytn-fee-delegation-js#2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved approved to proceed proposal a proposal for something new
Projects
None yet
Development

No branches or pull requests

2 participants