You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a modernised version of the py-substrate-interface library, with the ability to use it asynchronously (as well as synchronously). It aims to be almost fully API-compatible with the original library.
1
+
# Async Substrate Interface
2
2
3
-
In addition to it's async nature, it is additionally improved with using bt-decode rather than py-scale-codec for significantly faster SCALE decoding.
3
+
This project provides an asynchronous interface for interacting with [Substrate](https://substrate.io/)-based blockchains. It is based on the [py-substrate-interface](https://github.com/polkascan/py-substrate-interface) project.
4
+
5
+
## Features
6
+
7
+
- Asynchronous API calls
8
+
- Support for multiple Substrate-based networks
9
+
- Easy integration with existing projects
10
+
11
+
## Installation
12
+
13
+
To install the package, use the following command:
14
+
15
+
```bash
16
+
pip install async-substrate-interface
17
+
```
18
+
19
+
## Usage
20
+
21
+
Here is a basic example of how to use the async-substrate-interface:
22
+
23
+
```python
24
+
import asyncio
25
+
from async_substrate_interface import SubstrateInterface
0 commit comments