atomiclabs / atomiclabs/hyperdex
stuck swaps should get ability to be kickstarted
- Dominant language
- JavaScript
- Stars
- 151
- Forks
- 55
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the feature**
Stuck swaps are in a state where funds are still in a temporary address, but are eligible for spending. Often, this happens when the user has closed the app during a swap, or network issues prevented a successful spending of funds in this temporary address.
There exists a RPC that handles the recovery of stuck funds, see [here](https://developers.komodoplatform.com/basic-docs/atomicdex/atomicdex-api.html#recover-funds-of-swap).
In the Open Orders section, there could/should be a button `kickstart` that allows a user to kickstart a trade that is pending or at a certain step in the swap procedure.

Or otherwise a `kickstart` button in the details section of a swap, where it's possible to see at what stage a trade is in:

Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the linked recover-funds RPC documentation to understand the recovery operation and its eligible swap states. Inspect the Open Orders and swap details sections shown in the issue to find where a kickstart action belongs. Done means eligible stuck swaps expose the action and the recovery result is reflected in the UI.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100