10101
10101 copied to clipboard
10101 (Ten-Ten-One): Self-custodial derivative trading at your fingertips.
Atm we treat version number that have the same major version but a different minor version as incompatible: https://github.com/get10101/10101/blob/d42a8c94003a2bdf62d7b3514ee6a5341c0faf6f/coordinator/src/check_version.rs#L77-L83 This is not what SemVer recommends: > Given a version number...
🤔 I don't think this is how we calculate PNL. The payout is already `collateral_reserve + trader_margin +/- pnl`. So to get the PNL you would have to subtract `collateral_reserve`...
These are fair assumptions, given that the `PreClosed` and `Closed` variants are _supposed_ to refer to a force-closed channel if the `attestations` field is set. But looking at the `rust-dlc`...
This is already possible when opening after settling. It is not possible when resizing. We want to remove this constraint for resizing, and remove a TODO for opening after settling....
And forward them to the coordinator.
Right now we only allow creating a single order at a time. We could change the api to allow multiple orders at a time
I believe it is super useful if we enable users to fund their channel using an external wallet. I'm thinking of a flow like this: - app shows a PSBT...
I think the same applies if the position is expired. I guess the delay comes from the time until the connection is established and the rollover initiated.