Extend `./simplicity-dex positions` command
@zahorodnyi is already working on this.
Since Jan 12, 2026.
Assessment
This issue has not been assessed yet.
Description
Describe the feature
./simplicity-dex positions
Your Positions:
===============
Option Contract Locked Assets:
------------------------------
# | Locked Assets | Settlement | Expires | Contract
--------------------------------------------------------------------------------
1 | 100000 LBTC | (7198165d)... | [SOON] in 2 hours | tex1p6257...
Your Option/Grantor Tokens:
---------------------------
# | Type | Amount | Strike/Token | Expires | Contract
------------------------------------------------------------------------------------------
1 | option_token | 100 | 12 (7198165d)... | [SOON] in 2 hours | tex1p6257...
2 | grantor_token | 100 | 12 (7198165d)... | [SOON] in 2 hours | tex1p6257...
Pending Swaps:
--------------
(No tokens found)
Contract History:
-----------------
Option Contract tex1p6257...:
- option_created @ 5 minutes ago (tx: 45ad237536bc...)
- option_funded @ 5 minutes ago (tx: 0f6549940d18...)
This issue is created for the extension of the dex positions command. After the refactor, I can't understand what kind of parameters are assigned to positions.
Maybe we can add such extensions:
./simplicity-dex positions all- to list all available positions (as it is currently used)./simplicity-dex positions options -i <optional or mandatory index>- to view a detailed review of the options contract arguments./simplicity-dex positions swap -i <optional or mandatory index>- to view a detailed review of the swap contract arguments
- Dominant language
- Rust
- Stars
- 4
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Contributor 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 Blockstream/simplicity-dex
-
Panic when a maker has only 3 UTXOs, whose total sum is sufficient, but each one individually is not Openbug
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 30/100
-
enhancement
Blockstream/simplicity-dex#41 · 3 comments · 1 assignee ·
All issues in Blockstream/simplicity-dex
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100