Portaldot Mini Hackathon S1 · Builder Tools

pdk.

Portaldot Dev Kit — turn cryptic transaction failures into clear, actionable diagnoses. Live, as they happen.
github.com/PugarHuda/portaldot-hackathon-2026-pdk-AmpunBang · portaldot-pdk.vercel.app
The problem

Portaldot is new. Its errors are cruel.

ExtrinsicFailed: DispatchError { Module: { index: 6, error: 2 } }
# no message. no explanation. now what?
The solution

One CLI for the whole local dev loop.

pdk up

Node + funded accounts + a real verification tx.

pdk accounts

Pre-funded POT — answers "how do I get POT?".

pdk debug

FailLens — decode any failure.

pdk explain

Queryable error reference.

pdk doctor

Node, ink! compat, chain liveness.

pdk simulate

Preview fee + feasibility, no send.

pdk seed

Fund accounts from fixtures.

pdk pallets

Browse pallets / calls / errors.

…plus send · storage · watch · keys · report · ai-setupfourteen commands in one CLI.

FailLens · the hero

The same failure, decoded.

$ pdk debug --demo

✗ Balances.InsufficientBalance

What happened
You tried to transfer more POT than the account holds.

How to fix
  1. Check the sender balance.
  2. Lower the amount, or fund the account first.
Metadata-driven — resolved against the chain's own runtime, so it never goes stale. Every error verified against the live chain.
The wow

Watch failures decode live.

$ pdk debug --watch
FailLens watching from block #14 …
✗ Balances.InsufficientBalance  ← decoded the instant it landed
Why it wins

The only debugger for Portaldot.

The ask

The standard Portaldot dev toolkit.

On PyPI today. Roadmap: typed TypeScript SDK (unblocks contract deploy) · editor extensions · deeper CI integrations.
Thanks — let's make Portaldot easy to build on.
pdk — Portaldot Dev Kit
1 / 7← → / space · click sides