Feature request: Label orders that buy or sell with bitcoin on-chain as payment method as swap-ins or swap-outs
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
The payload names no files, so start by finding where the app lists orders and applies the buy/sell filter in the MostroP2P/app Dart code. The proposed rule is that an order whose only payment method is bitcoin on-chain counts as a swap, with buying as swap-in and selling as swap-out. Done means those labels appear and can be filtered, and the rule is confirmed by the issue's own wording, since no protocol or backend change is involved. Ask in the thread about the exact labels and UI placement before building.
Written by the indexing model from the issue text.
Description
Problem
Right now, if someone wants to convert onchain btc to lightning btc, it would be "buying" in mostro, "selling" in mostro if the user wants to get onchain sats. This can be somehow unintuitive for users, specially for those who are familiar with "Swap ins" and "Swap out" terms.
Proposed soluion
Label orders "selling" sats with onchain bitcoin as the payment method as "swap-out" and orders "buying" sats with bitcoin as payment method as swap ins. So the user could select not only "Buy BTC" or "Sell BTC" but also "Swap in" and "Swap out", which would filter only bitcoin to bitcoin swap orders.
Consdierations
This is only a client feature, this is not intended to touch neither mostro backend neither the protocol, the rule is that "orders that contain only bitcoin as payment method are considered swaps"
- Dominant language
- Dart
- Stars
- 11
- Forks
- 9
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 16
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
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.
More from MostroP2P/app
-
documentation priority: low
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
Maintainers usually reply within 1 day
-
area: ui bug priority: medium
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
area: ui bug priority: high
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Bug: Button "Share logs" does nothingPossibly taken @Luquitasjeffrey claimed this 7 days ago. Open
Difficulty 2/5 Half a day Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
area: rust-core bug priority: low
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
Similar issues
-
Python example: list a model's scenes and their camerasPossibly taken @rudraparmar76 claimed this today. Opendocumentation good first issue python
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
iamahsanmehmood/openskp#796 · 1 comment ·
Maintainers usually reply within 1 day
-
needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Plural rendering: first matching part wins, but gen-l10n lets the last one win (=1 shadows one)Openbug help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
crowdin/flutter-sdk#97 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
MrSpideyNihal/lockfeed#16 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
InlitX/GymMane#529 · 1 comment ·
Maintainers usually reply within 1 day