pendulum-chain / pendulum-chain/vortex
Use signed permits over approve() transactions for token transfers
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 6
- Forks
- 5
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 33
Description
Context
Currently, Vortex requires a few presigned transfer transactions from the ephemeral accounts. These transactions require the ephemeral accounts to have native tokens available. To mitigate this, we can use signed permits for the token approval and submit the transfer() transactions on behalf of the ephemeral account.
TODO
Change the api to have the ephemeral accounts sign permits for token approvals instead of transfer() transactions.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the API path that creates the ephemeral-account approval and transfer transactions, then read how those transactions are assembled and submitted. Done means ephemeral accounts sign token-approval permits, while transfer() transactions are submitted on their behalf without requiring native tokens in those accounts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, blockchain
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100