ABX
Reference

CLI

A compact index of ABX commands.

Install the CLI globally or run it through npx:

npm install --global @artblocks/abx-cli
abx help

Use abx <command> --help for every flag and example. This page is a map, not a second copy of the built-in help.

Start and inspect

CommandUse
demoDeploy, index, and serve a test 1/1
doctorCheck Node, RPC, factories, storage, skill version, and optional signing setup
capabilitiesPrint supported project types and irreversible choices
stateRead owner-controlled settings and parameter schemas
verifyCheck canonical deployment, byte commitments, and render freshness
tokenuri / contracturiRead committed metadata; contracturi follows its URI and --json is machine-readable
tokensList token state from the contract
artifactsList served artifacts and current or stale effect output
statusShow resolver indexing state
version / helpShow the installed version or command help

Deploy

CommandUse
deployDeploy a 1/1 image or single-work edition
deploy-seriesDeploy an image Series or multi-work image edition
deploy-codeDeploy a code Series or code edition
inspectCheck a script and recommend a deployment lane
scaffold solidityCreate a Foundry workspace for renderers and hooks
predictPredict a deterministic address from a pinned salt
add / indexRegister or index a deployed project
serveRun a local resolver
render / effectsRender once or run the effects worker

Sell and operate

CommandUse
mintMint the next token or copies of an edition ID
minter configureSet fixed-price sale terms
minter showRead sale terms
minter buyBuy through the shared fixed-price minter
mint-pageScaffold a small mint site
submit-appSubmit a deployed collection to the optional ABX App Store
pause / unpauseClose or open non-owner minting
set-minterSet the authorized minter
set-primary-payeeSet the primary-sale recipient
set-max-invocationsLower the ERC-721 supply cap or edition ID-space cap
set-max-supplyLower an edition ID's copy cap
set-royaltySet royalty receiver and basis points
set-royalty-capLower the project's royalty ceiling
set-transfer-validatorManage an enrolled transfer validator
transferTransfer a token or edition copies
set-adminTransfer project ownership

Metadata and code

CommandUse
set-field / attachSet metadata or attach a named artifact
set-token-uri / set-contract-uriChange URI pointers
set-rendererChoose onchain or resolver metadata
set-gatewayChange the HTTP gateway for IPFS or Arweave locators
lock-field / lock-uriPermanently freeze metadata settings
refresh / ping-uriAsk indexers to refresh metadata
previewRun a code project locally
configure-paramSet a governed parameter
set-schema / retire-paramDefine or permanently retire a parameter
set-param-hooks / lock-param-hooksSet or freeze parameter hooks
set-seed-sourceChange the source for future code-project seeds
set-dependency / remove-last-dependencyEdit code dependencies
set-dependency-registryChange the dependency registry
replace-scriptSafely replace an unlocked code project's onchain program
lock-dependencies / lock-scriptPermanently freeze code inputs

Storage and hosting

CommandUse
storage showShow the active byte-storage backend
storage upload / storage statusUpload bytes or check retrieval
storage balance / storage topupManage Arweave upload credit
storage backup-keyBack up the managed storage key
vacuumInspect or reclaim space in the local SQLite projection
deploy-contractDeploy exact compiled EVM initcode, including custom hooks and renderers
deploy-resolver / deploy-effectsDeploy self-hosted services
remoteInspect or test a conforming hosted service
auth login / auth logoutReuse, create, or revoke the current hosted-service key
auth walletProvision or show the account's stable creator wallet
auth keys / auth revoke-keyList active key metadata or revoke an unused key
feedbackPreview or file an ABX report; nothing sends without --yes
migrateCheck parity while moving between resolvers
forgetRemove a local or remote projection without touching the chain

Signing lanes

Every write uses one lane:

FlagBehavior
--sponsorUse an eligible account-bound creator wallet and provider-paid gas
--signOpen a browser wallet
--sendSign with the configured hot key
--unsignedPrint an unsigned transaction
--dry-runSimulate without sending

If the creator has not chosen a signer, use the live remote descriptor to prefer sponsorship when the chain and transaction group are eligible. Otherwise choose the appropriate bring-your-own lane. Never paste a private key into a chat or prompt.

A deploy preview reports the wallet approvals it will need. A predicted address is stable only when you reuse the displayed salt with --salt. A salt's first 20 bytes are its deployer guard: they must be zero (permissionless) or the address that will sign. The CLI refuses a known signer/guard mismatch before authorization or broadcast.

Structured deploy plan (--dry-run --json)

deploy, deploy-series, and deploy-code include a versioned plan object in JSON output. It contains the signing lane, transaction groups, roles, royalties, custody, mint plan, estimates, warnings, required public surfaces, dependencies, and resume state. Unknown values are null.

transactions.approvals is the number of wallet approvals. transactions.legs names the logical groups they contain. Large code deployments may split setup across transactions. deploy-code --resume continues the idempotent setup steps, and reserve mints run last.

Agent skill and updates

abx skill install installs the version-matched agent skill. abx doctor reports drift between the skill and CLI.

The CLI may print a notice when a newer npm release exists. It never upgrades itself. Set ABX_NO_UPDATE_CHECK=1 to disable the check.

On this page