🏆 1st Place · Portaldot Online 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 · pip install portaldot-pdk
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 journey

Three honest moments from this hackathon.

Each pain became part of the product. Every fix is in the repo.
🌱 What's next — beyond the hackathon

From hackathon entry to ecosystem infrastructure.

The ask

The standard Portaldot dev toolkit.

On PyPI today (pip install portaldot-pdk). 🏆 1st place · Portaldot Mini Hackathon S1 · Builder Tools.
Thanks Portaldot team — let's make this chain easy to build on.
pdk — Portaldot Dev Kit  ·  ← back to pdk
1 / 9← → / space · click sides