Inspiration
Polkadot is powerful but painfully inconsistent for developers. Every parachain has different RPCs, different token standards, different metadata, and no unified SDK like Ethereum's web3 or ethers. I wanted something simple: a single toolkit that just works everywhere. PolkaKit was born from the frustration of switching docs, guessing errors, decoding SCALE manually, and rewriting the same boilerplate in every project.
What it does
PolkaKit is a lightweight, universal SDK that wraps the messy parts of Substrate into clean, predictable functions. It gives developers a plug-and-play provider, unified balance queries across chains, event filtering, contract helpers for ink!, simple transaction execution, and a friendly CLI. It reduces the learning curve for newcomers and saves time for experienced builders.
How I built it
PolkaKit was built from scratch using TypeScript and polkadot.js, focusing on modularity and real-world usage. I implemented a persistent provider, unified state queries, ORML and assets pallet support, a metadata inspector, event filters, transaction handlers, and ink! contract wrappers. Everything was structured to feel familiar to anyone coming from the EVM world.
Challenges I ran into
Handling different parachain standards Decoding SCALE error messages Ensuring one provider instance instead of multiple WebSocket connections Building a clean universal balance system Managing inconsistent metadata Publishing and packaging the SDK with correct exports
Accomplishments that I am proud of
Published a working npm package A universal asset and balance system that works across parachains A CLI that can query accounts, events, metadata, and more Simple transaction API with proper error decoding A clean ink! contract interface similar to ethers.js contract wrapper
What I learned
Polkadot is extremely flexible but lacks standardization Good abstraction can cut down 70 percent of development friction Packaging and exporting SDKs is trickier than writing the SDK itself Developer experience matters as much as features The ecosystem needs more tools that focus on simplicity
What's next for PolkaKit
Full contract deployment support Wallet abstraction and signer unification EVM compatibility helpers Better event subscription system A full web provider for DApps Improving the CLI into a chain-agnostic devtool
Built With
- chalk
- commander
- node.js
- npm
- polkadot
- typescript
Log in or sign up for Devpost to join the conversation.