Introduction
Welcome to Polkadart
Polkadart is a powerful and type-safe Dart/Flutter SDK that provides developers with everything needed to build decentralized applications on Polkadot, Substrate, and other compatible blockchain networks. With comprehensive APIs, automatic code generation, and Flutter-first design, it's the most developer-friendly way to integrate blockchain functionality into your Dart applications.
All Polkadart packages are available on GitHub with a permissive Apache 2.0 license.
📦 Package Ecosystem
Polkadart is a modular ecosystem where each package serves a specific purpose. You can use them independently or together based on your needs.
Core Packages
| Package | Description | Version |
|---|---|---|
| polkadart | Main SDK for blockchain interaction - provides APIs for connecting to nodes, querying state, and sending transactions | |
| polkadart_keyring | Secure key management and account handling - create wallets, manage keypairs, and sign transactions | |
| polkadart_cli | Command-line tool for generating typed APIs from chain metadata |
Encoding & Cryptography
| Package | Description | Version |
|---|---|---|
| polkadart_scale_codec | SCALE (Simple Concatenated Aggregate Little-Endian) codec implementation | |
| substrate_metadata | Runtime metadata decoder for parsing chain metadata | |
| ss58 | SS58 address format encoder/decoder for Substrate addresses |
Cryptographic Primitives
| Package | Description | Version |
|---|---|---|
| sr25519 | Schnorrkel/Ristretto SR25519 signature scheme (Polkadot's default) | |
| secp256k1_ecdsa | SECP256k1 elliptic curve for ECDSA signatures (Ethereum compatibility) | |
| substrate_bip39 | BIP39 mnemonic phrase generation for HD wallets |
Smart Contracts
| Package | Description | Version |
|---|---|---|
| ink_abi | ink! smart contract ABI encoder/decoder | |
| ink_cli | CLI tool for generating typed interfaces from ink! contract metadata |
Contributing
We welcome contributions to the Polkadart project. If you see something that needs improvement or a new feature, please open an issue or submit a pull request. We follow the Contributor Covenant code of conduct.
Contributors
Supporters
We extend our deepest gratitude to the Web3 Foundation for their invaluable support in furthering the development of the Polkadart project. With your support, we have been able to expand our library, offering a robust set of tools that foster innovation and growth within the Web3 ecosystem. Thank you for partnering with us on this journey towards a decentralized future.