parse-publish-output
Reads sui client publish --json output, extracts the new package id + all shared object ids, and writes them into .env. Skips already-set values unless --force.
DARKPOOL_PACKAGE_IDMARKET_REGISTRY_IDAGENT_REGISTRY_IDAUTO_REDEEM_QUEUE_IDOO_CONFIG_IDVOTE_LEDGER_ID
sui_getTransactionBlock + parse-publish-output --force, or scripts/finish-create-market.ts for binary markets.
return-testnet-dusdc
Sweeps testnet DUSDC from all project-controlled keypairs (agent, resolver) to DUSDC_RETURN_ADDRESS. Run on Jun 23 + Jun 28 to honor the 80% return commitment to the DeepBook team.
| Flag | Required | Description |
|---|---|---|
--pct | no | Percent to return (default: 80) |
--addr | no | Override DUSDC_RETURN_ADDRESS |
--execute | no | Sign + submit |
- List all
Coin<DUSDC>objects. - Merge into one (
mergeCoins). splitCoins(80%)→ transfer to return address.