Build on Midnight from your terminal

The full Midnight CLI — scaffold, compile, deploy, and explore from one tool. Built so humans and agents can access the network with the same commands.

$ npm install -g oneam
Capabilities

What the CLI can do after install

Pick a workflow or watch them cycle. The hero stays install-only; this is where the product shows what it can do.

scaffold flow

Scaffold

Create a Midnight app with contract, web app, wallet wiring, and AI-ready docs.

$ 1am scaffold starter ./midnight-app

$

Builder loop

One command line for humans and agents on Midnight

01

Scaffold

Start with compact Midnight templates for starter apps, wallets, contracts, and AI skill docs.

02

Compile

Compile Compact contracts locally or through the 1AM remote compiler path when your setup needs it.

03

Deploy

Connect to ProofStation without hardcoded secrets and ship using env-driven proof server settings.

04

Operate

Use wallet and Explorer commands to sync, inspect, and query mainnet, preprod, and preview data.

One install

Open a terminal. Build on Midnight.

Scaffold, compile, deploy, and query the network from one CLI — the same commands humans and agents share, with proof server keys kept out of your code.