Skip to content

gosh-sh/dexdo-cli

Repository files navigation

dexdo

dexdo is a command-line client for the private inference market on Acki Nacki. Sellers offer large-language-model inference for sale; buyers purchase it by the tick. Deals settle on chain with escrow, private notes, and end-to-end encrypted streaming, so neither side has to trust the other to be paid or served fairly.

Install

One-line install

Linux / macOS

curl -fsSL https://github.com/gosh-sh/dexdo-cli/releases/latest/download/install.sh | sh

Windows (PowerShell)

irm https://github.com/gosh-sh/dexdo-cli/releases/latest/download/install.ps1 | iex

The installer detects your operating system and CPU architecture, downloads the matching release archive, verifies its checksum, and places dexdo on your PATH.

Manual download

Download the archive for your platform from the latest release, verify it against SHA256SUMS, extract it, and move dexdo onto your PATH.

Platform Archive
Linux x86_64 dexdo-<version>-x86_64-linux.tar.gz
Linux ARM64 dexdo-<version>-aarch64-linux.tar.gz
macOS (Apple Silicon) dexdo-<version>-aarch64-macos.tar.gz
macOS (Intel) dexdo-<version>-x86_64-macos.tar.gz
Windows x86_64 dexdo-<version>-x86_64-windows.zip

Build from source

cargo build --release -p dexdo --features shellnet

The release binary is written to target/release/dexdo.

Commands

Command What it does
doctor Read-only network version / pin and market-freshness checks. Alias: health.
provision Bring up an order book, model root, and per-deal token contract for a market.
note deploy Mint a wallet-funded private note and fold it into the local note pool.
seller Seller client: gateway, authorization, and stream handover.
buyer Buyer client: endpoint decryption, challenge signing, and stream reception.
markets Discover active model order books and their depth.
quote Compute an executable quote over current order-book depth.
orders List, show, or cancel this note's resting inference orders.
monitor Human-readable, read-only view of the loaded note's offers, deals, and exposure.
reclaim Buyer reclaims escrow when a seller does not show.
recover Buyer closes an orphaned open deal so it can be settled.
dispute Buyer opens an on-chain dispute on an open deal.
destroy Seller closes a stopped deal's token contract.

Run dexdo <command> --help for the flags of any command.

Configuration

dexdo reads its model configuration from models.json and the deployed contract pins from contracts/deployed.shellnet.json in the working directory. Both paths are overridable with per-command flags.

License

Released under the MIT License -- see LICENSE.

About

DEX.DO CLI — command-line client for the private inference market on Acki Nacki (buy/sell model inference by ticks over shellnet).

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages