Development · portaldot-1002
Portaldot · developer dashboard

Everything pdk surfaces — at a glance.

pdk is a 12-command CLI for the Portaldot local dev loop. This dashboard is its visual companion: the node's health, a decoded failure from FailLens, the funded dev accounts, and the full command surface — the same data the CLI prints, laid out visually.

No mocks. Every value here is real: the runtime facts and dev-account addresses pdk reads from a live Portaldot node, the verified error knowledge base, and the actual native-deployment transaction hash. Run the commands yourself to reproduce any of it.

Node health pdk doctor

ChainDevelopment
Runtimeportaldot-1002
Nodeportaldot_dev 2.0.0
Block time6s
Contracts APIv5 (ink! 3.x)
Liveness● producing blocks

FailLens — decode any failure, live pdk debug

Decoded against the chain's own metadata — try any of the 29 verified errors. This runs the real knowledge base, in your browser.

Dev accounts pdk accounts

Alice5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQYgenesis
Bob5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694tygenesis
Charlie5FLSigC9HGRKVhB9FiEo4Y3koPsNmBmLJbpXg2mp1hXcS59Ygenesis
Funded at genesis on a --dev chain · SS58 format 42 · POT has 14 decimals. The one-command answer to "how do I get POT?". Run pdk accounts for live balances.

Native deployment proof pdk up

tx hash
0x8b605579d6b512892f4394aa43937e1d762d34411b43c6a4aa9fa8a5dd4d546a
nodelocal Portaldot dev (2.0.0)
feepaid in POT
A real on-chain transaction paying POT as gas — the hackathon's native-deployment requirement.

The command surface 14 commands

pdk up
Start a node + verify with a real tx
pdk accounts
Funded dev accounts + POT
pdk debug
FailLens — decode a failure
pdk explain
Queryable error reference
pdk doctor
Node + ink! + liveness
pdk simulate
Preview fee + feasibility
pdk seed
Fund accounts from fixtures
pdk pallets
Browse pallets / calls / errors
pdk send
A real POT transfer
pdk storage
Read any chain storage
pdk watch
Stream chain events live
pdk keys
Generate / inspect a keypair
pdk report
Group + count every failure
pdk ai-setup
Wire up the optional AI layer
pip install portaldot-pdk (v0.1.6) · Linux, macOS & Windows · CI-gating with pdk debug --json --exit-code.

Optional AI layer — auto-on PDK_AI_KEY

Set one environment variable and every diagnose command attaches a yellow AI-suggested — UNVERIFIED panel next to the verified KB entry. Grounded in the chain's own metadata so it cannot drift from the runtime. The verified knowledge base stays the source of truth; the AI section is the long-tail safety net.

pdk debug --demo
AI runs automatically next to FailLens
pdk explain
AI fallback for long-tail errors
pdk simulate
AI explains the fee breakdown
pdk report
AI summarises failure patterns
--no-ai opts out per-command · --ai forces an attempt (surfaces the setup hint when no key is configured) · model swappable via PDK_AI_MODEL; endpoint via PDK_AI_BASE_URL. Free default: openai/gpt-oss-120b:free via OpenRouter.