leonardocustodio / polkadart

Polkadart provides developers the ability to query a node and interact with the Polkadot or Substrate chains using Dart.
Apache License 2.0
21 stars 14 forks source link
dart flutter keyring polkadart polkadot scale-codec secp256k1-ecdsa sr25519 ss58 substrate substrate-bip39 substrate-metadata

Polkadart

Star on Github All Contributors Test Coverage Build and Tests License: Apache 2.0

This library provides a clean wrapper around all the methods exposed by a Polkadot/Substrate network client and defines all the types exposed by a node, this API provides developers the ability to query a node and interact with the Polkadot or Substrate chains using Dart.

This library is funded by Web3 Foundation via their Open Grants Program

Packages

This repo is a monorepo for polkadart and related packages.

Packages
____
Description
___
version The core package that provides tools to connect and interact with the Polkadot or Substrate chains. It abstracts the complexities of the network protocols and offers straightforward APIs.
version A command-line interface tool that generates dart language types and corresponding definitions by interpreting the chain's metadata.
version Manages keys and addresses for Polkadot/Substrate accounts. Contains cryptographic functions related to creating keys, signing transactions, and managing user identities on the blockchain.
version SCALE (Simple Concatenated Aggregate Little-Endian) is a codec used by Substrate to efficiently encode and decode data. Contains a dart implementation of this codec.
version Implementation of the SECP256k1 elliptic curve used in the ECDSA (Elliptic Curve Digital Signature Algorithm) for cryptographic operations, which is widely used in various blockchain platforms.
version Implementation of Schnorrkel-based signature scheme used in Substrate. Contains functionalities related to this scheme, such as key generation and signing.
version SS58 is a cryptocurrency address format used by Substrate. This package includes utilities to encode and decode these addresses.
version BIP39 (Bitcoin Improvement Proposal 39) pertains to the generation of mnemonic phrases for cryptographic keys. Creates human-readable phrases that map to the keys used on Substrate-based chains.
version Provides the necessary tools to decode the metadata provided by a Substrate blockchain node. And can be used to easily decode constants, extrinsics, events, and other data written in the chain.

Documentation and Tests

You can run all tests from the library by running docker compose up;

Or if you have Melos installed globally you can run melos test.

Contributors

Leonardo Custodio
Leonardo Custodio

💻 ⚠️ 👀 💬 🚧 💡 📖 🐛
justkawal
justkawal

💻 ⚠️ 👀 🚧 💡 🐛
Lohann Paterno Coutinho Ferreira
Lohann Paterno Coutinho Ferreira

💻 ⚠️ 👀 💡 🐛
Gabriel Okura
Gabriel Okura

💻 ⚠️ 💡
clangenb
clangenb

💻 ⚠️ 🐛 💬
Bruno Pastre
Bruno Pastre

👀
weiwei
weiwei

💻 🐛
Burnww
Burnww

💻 🐛
Aviv Eyal
Aviv Eyal

💻 🐛

License

This repository is licensed under Apache 2.0 license