Skip to main content

Peaq SDK

Peaq Network SDK for comprehensive blockchain interactions on EVM and Substrate chains.

Installation

pip install peaq-sdk

Usage

from peaq_sdk import Sdk
from peaq_sdk.types import ChainType
from eth_account import Account

# Create an instance
sdk = await Sdk.create_instance({
    "base_url": "https://your-rpc-url.com",
    "chain_type": ChainType.EVM,
    "auth": Account.from_key("your-private-key")
})

# Use SDK modules
result = await sdk.storage.add_item({"item_type": "test", "item": "data"})
did = await sdk.did.create({...})
transfer = sdk.transfer.native("0x...", 1.5)

Features

  • DID Operations: Create, read, update, and remove decentralized identifiers
  • Storage Management: On-chain data storage with add, get, update, remove operations
  • RBAC System: Role-based access control with roles, groups, and permissions
  • Token Transfers: Native token and ERC-20/721 transfers across chains
  • Multi-chain Support: EVM and Substrate chain compatibility
  • Transaction Management: Status callbacks and confirmation modes

Tests

Run tests with:

python -m pytest -s

Metadata

Release files for peaq-sdk 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for peaq-sdk 1.0.1
File Size Uploaded
peaq_sdk-1.0.1.tar.gz 33.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for peaq-sdk 1.0.1
File Interpreter ABI Platform
peaq_sdk-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 73.9 kB

Release files / peaq_sdk-1.0.1.tar.gz

Download URL peaq_sdk-1.0.1.tar.gz
Size 33.5 kB
Tags Source
SHA-256 checksum
How to use checksums
fce5019ed9fff56232313e315fcf3159b179b88902d715a5867a196c66348151
BLAKE2b-256 checksum
How to use checksums
a47ca406e9902ba583b9b0c454b816b48c611a48c8e6975411224c138cc7e790
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2025.

Transparency log

Release files / peaq_sdk-1.0.1-py3-none-any.whl

Download URL peaq_sdk-1.0.1-py3-none-any.whl
Size 40.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3a06870e2763b7b84eac8f280f532b5336194e277e13815d3ee98919b01269d7
BLAKE2b-256 checksum
How to use checksums
ce44254419a6e9ea450876405ac262eb277a09db56ccc5d63a029c7e50c5a7e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page