Introducing Polkadart: A Dart and Flutter library for Polkadot based blockchains

Introducing Polkadart: A Dart and Flutter library for Polkadot-Based Blockchains

Hello Polkadot Community!

We have talked about Polkadart before at this thread but we did not apply for the Decentralized Futures program and thus we are now formally presenting to you our library

Polkadart is a powerful new client designed to simplify the development of hybrid applications on any Polkadot-based blockchains using Dart and Flutter!

Why Polkadart?

Polkadart emerges as a game-changer for developers looking to combine the robust capabilities of Polkadot with the flexibility of Dart and Flutter. Our goal is to streamline the process of creating cross-platform applications with a focus on simplicity, efficiency, and performance.

Key Features

  • Fully Typed APIs: Trust in the stability and accuracy provided by our fully typed APIs, ensuring seamless interaction with any Polkadot-based chain without the common pitfalls of type errors.
  • Multiplatform Support: From mobile to web, Polkadart is engineered to support your projects across various platforms, leveraging Dart and Flutter’s capabilities for maximum versatility.
  • Lightweight and Fast: Our commitment to a lightweight design means you can enjoy swift performance and a streamlined integration process. No more struggling with bloated code or performance issues.
  • Pure Dart Implementation: Enjoy a smooth experience with no need for additional platform channels or native code. Everything is crafted in Dart, enabling effortless deployment across different environments.

Get Involved!

We’re excited for you to explore what Polkadart can do and can’t wait to see how developers will utilize this tool to craft innovative and powerful applications. Get started today by visiting our GitHub repository or our comprehensive documentation to guide your development.

We also invite anyone passionate about advancing the blockchain ecosystem to contribute to Polkadart. Whether you have coding skills to enhance our library, encounter bugs to report, ideas for new features, or can assist with documentation and translation, your input is invaluable. By collaborating with us, you can help to refine Polkadart’s capabilities and make it even more accessible and robust for all users.

Join the Conversation

We’d love to hear from you! Share your thoughts, feedback, and projects using Polkadart right here in this thread. Let’s collaborate, innovate, and push the Polkadot ecosystem to new heights together.

Acknowledgement

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.

Resources

Happy coding,
The Polkadart Team


Feel free to reach out with questions, suggestions, or showcase what you’ve built. Together, we can unlock the full potential of Polkadot-based development.

7 Likes

Nice! Good to see more language support for Polkadot APIs.

Btw do we have any example implementation of Dart based apps using Polkadot APIs? Just curious :slight_smile:

Also between react native vs Dart, which is a better choice for someone looking to build a mobile app on top of Polkadot?

Encointer Wallet is an awesome project that is built in Flutter and is currently using Polkadart.

That’s a tricky question; it depends on your language and framework preference. I’ve been a flutter developer for over 6 years, and I never liked React Native, so I’m pretty sure I will have a very biased opinion here :laughing:

1 Like

Very happy to see new libraries adding native support to more languages.

After quick look to the docs, I have one main point: Given the “mobile” nature of Dart and Flutter, are you considering adding native support to light-clients to this library? I think it would be a massive win to enable devs to run an instance of smoldot within their mobile dapp.

3 Likes

Hello Iker, sorry for the late reply. Last week was busy here.

Our current roadmap and the next milestone to be delivered is:

  • Offline signing using the CheckMetadata extension
  • ABI encoding/decoding
  • Contract deployment, read, write

We hope to deliver that in the next couple of months; we will go to the planning board again to check what will be next.

You are right. It would be a great win for everybody. The only detail is that since the conception of Polkadart, we have tried and avoided using any libraries that we would need to do any bindings or make platform-specific/channel code.

We have written and rewritten everything we needed in the Pure Dart, including crypto algorithms like sr25519, secp256k1_ecdsa, etc.

Including smoldot would require us to “drop” this philosophy, though in this case, I believe the benefits might be more significant than the downside.

After we deliver the milestone mentioned, we can evaluate this.