Skip to content

v0.0.8

Choose a tag to compare

@github-actions github-actions released this 09 Jul 08:14

What's new in v0.0.8

Fund-safety for note deploy, seller reliability, and a way to see and take the executable order book.

Fund safety

  • dexdo note deploy can no longer strand a funded note. The note owner key and both voucher checkpoints are written to a private recovery file (0600, fsync) before any wallet spend. If the run is interrupted -- timeout, crash, closed terminal -- rerun the command, or run dexdo note recover --recovery <state> --pool <pool>, and it finishes without spending again. A rerun never mints a second deposit and never resubmits a deployPrivateNote that already landed. (#23)

Seller

  • An offer that is filled the moment it is posted no longer reports seller offer did not rest in the InferenceOrderBook. The seller now accepts an exact-TokenContract resting ask or exact immediate-match evidence, and fails with the precise reason otherwise. (#24)
  • A withdrawn PrivateNote now fails early with a clear re-mint message instead of a late chain revert. (#20, #22)
  • The matched TokenContract is recorded next to the note entry in the pool file, so dexdo recover, dexdo dispute, and dexdo reclaim work from the pool alone -- no manifest, no log scraping. (#19)
  • Rapid sequential deploys serialize per funding wallet and report note deploy wallet busy instead of a raw TVM_ERROR. (#19)

Buyer

  • New: dexdo executable-book <model> lists every currently executable ask (live, funded, fresh, submit-safe) with price and ticks, so you can see the whole book before buying.
  • New: dexdo buyer --max-price-per-tick X auto-matches the best executable ask within your ceiling, and fails closed with no executable liquidity is available when nothing crosses. Explicit --token-contract <TC> still selects one ask directly. (#10)
  • The on-demand path (--continuity-mode on-demand) completes a real purchase on the first request instead of returning an opaque 503. (#17, #18)

Reliability and DX

  • Read-only commands (market, quote, orders) accept --read-timeout-secs (default 30) and fail with a bounded, precise error instead of hanging on a slow endpoint. (#21)
  • dexdo note deploy verifies the stored note key against the on-chain owner and refuses to append a mismatched entry to an existing pool; it also rejects DEXDO_PN_POOL and --pool pointing at the same file. ERR_INVALID_SENDER (101) now carries actionable guidance. (#19)
  • --token-type --help lists the valid values; the seller --gateway-listen and buyer --local-listen flags are documented as the same concept.

Upgrade

Binaries are self-contained. Download the archive for your platform, verify the checksum, and replace the old dexdo binary. No config migration is needed; existing pool files keep working.