![](https://raw.githubusercontent.com/w3f/Grants-Program/00855ef70bc503433dc9fccc057c2f66a426a82b/static/img/badge_black.svg)
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
This repo is a monorepo for polkadart
and related packages.
Packages ____________________ |
Description ___________ |
![version](https://camo.githubusercontent.com/776af90f736892e1b94c3d565a9aa0e9fe2ccd9c96d995975c636a7d89805bdd/68747470733a2f2f696d672e736869656c64732e696f2f7075622f762f706f6c6b61646172743f6c6162656c3d706f6c6b6164617274266c696e6b3d68747470732533412532462532467075622e646576253246706f6c6b6164617274) |
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](https://camo.githubusercontent.com/6eeb7c64120fb284c558cb4ca9f1cd7c277dde625e82a45eecdc7b18d84f006b/68747470733a2f2f696d672e736869656c64732e696f2f7075622f762f706f6c6b61646172745f636c693f6c6162656c3d706f6c6b61646172745f636c69) |
A command-line interface tool that generates dart language types and corresponding definitions by interpreting the chain's metadata. |
![version](https://camo.githubusercontent.com/bda4d6f1fe59ed8b0ee7e10baddbecd79e08f98fd191b426e3d3d6e5637e92ff/68747470733a2f2f696d672e736869656c64732e696f2f7075622f762f706f6c6b61646172745f6b657972696e673f6c6162656c3d706f6c6b61646172745f6b657972696e67) |
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](https://camo.githubusercontent.com/e6946bec199142d0ffa6fda09290d426abeb54d874a9045f074f756b90c37eaa/68747470733a2f2f696d672e736869656c64732e696f2f7075622f762f706f6c6b61646172745f7363616c655f636f6465633f6c6162656c3d706f6c6b61646172745f7363616c655f636f646563) |
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](https://camo.githubusercontent.com/875e334289e246789162311eaf9fd808da961bfc8700b86928faff0ce7e3fc00/68747470733a2f2f696d672e736869656c64732e696f2f7075622f762f736563703235366b315f65636473613f6c6162656c3d736563703235366b315f6563647361) |
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](https://camo.githubusercontent.com/028f784d4f7c99c57ebd14ad49c26787820604da1a32f99a33eb0b26b8aba210/68747470733a2f2f696d672e736869656c64732e696f2f7075622f762f737232353531393f6c6162656c3d73723235353139) |
Implementation of Schnorrkel-based signature scheme used in Substrate. Contains functionalities related to this scheme, such as key generation and signing. |
![version](https://camo.githubusercontent.com/13e7d35645d6fdfe355d21601cbf6244b9a452975abbd38a698af863aadd6e15/68747470733a2f2f696d672e736869656c64732e696f2f7075622f762f737335383f6c6162656c3d73733538) |
SS58 is a cryptocurrency address format used by Substrate. This package includes utilities to encode and decode these addresses. |
![version](https://camo.githubusercontent.com/02beeb37102ef4bce64a374d5fc3f74e4566abd1bb683c767edb7d06a8d61765/68747470733a2f2f696d672e736869656c64732e696f2f7075622f762f7375627374726174655f62697033393f6c6162656c3d7375627374726174655f6269703339) |
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](https://camo.githubusercontent.com/f2ba2cd012bd4709540c186b167217cfc25616173d70d0d9a153fd3cb97b3693/68747470733a2f2f696d672e736869656c64732e696f2f7075622f762f7375627374726174655f6d657461646174613f6c6162656c3d7375627374726174655f6d65746164617461) |
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. |
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
.
This repository is licensed under Apache 2.0 license