PerpOpsdreamDEX / Feedback track
Builder bounty · November 2026

PerpOps execution feedback

Two reproducible issues we found while building a BTC position executor for dreamDEX. Both affect steps a bot builder needs to trust: closing a position and funding a test account.

Download reproduction packageGitHub repositoryWatch the simulation

01 / Bot kit · Offline reproduction

The close helper retained an older quantity

The helper saw a long of 0.0004 BTC and sent a sell for 0.001 BTC to the mock trader. The seven-case harness captures the order parameters. Crossing into a short position is a modeled full-fill outcome.

Inspect the seven scenarios →
02 / SDK · Read-only testnet observation

Only the USDso bridge quote reverted

At Shannon block 529372807, the USDso route reverted on its gas quote for Hideki2. The STT, WBTC, WETH and HBTT routes each returned zero at the same block. A second block lookup confirmed the hash.

Inspect the RPC requests and responses →

Run both checks

Unzip the reproduction package, open its folder and run these commands with Node.js 24 or later. The close check runs offline after installation. The bridge check reads the current Shannon block.

npm ci
npm run feedback:close
npm run feedback:bridge
Product demo / Local simulation

Recover an interrupted order

The 100-second recording shows a simulated fill, a dropped acknowledgement, recovery using the original transaction, and a separate close to zero. The Feedback reports above contain the competition evidence.

Open the video