Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

port0.sh

port0 is an exchange on Miden, open to anyone. No sign-up, no approval, no committee. Open a pool for any token, and no one can stop it.

The code is public and can be read, copied, or run independently.

Questions go to hello@port0.sh, or to Telegram.

Components

ComponentRepositoryRole
Contractsport0_contractsPool account component, registry account component, and note scripts
SDKport0_sdkTypeScript client for quotes, note building, pool reads, and pool operations
Indexerport0_indexerReads the registry and pools over node RPC and serves an HTTP API
Appport0_appStatic web application to browse pools, trade, provide liquidity, and create pools

Status

port0.sh runs on the Miden testnet and on the Miden partner mainnet as a closed alpha. The code is unaudited and no audit report exists. Pools and notes are public network accounts: pool state and pool notes are visible on chain.

Reading order

A reader new to the system starts with the constant-product AMM and accounts and notes. A builder reading the interfaces continues with contracts and the SDK. An operator deploying the stack reads the runbook. The repositories chapter lists the canonical source and every mirror.