Skip to main content

Peaq Network SDK for DID, Storage, RBAC operations, and blockchain interactions

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

peaq_sdk-1.0.0.tar.gz (33.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

peaq_sdk-1.0.0-py3-none-any.whl (40.3 kB view details)

Uploaded Python 3

File details

Details for the file peaq_sdk-1.0.0.tar.gz.

File metadata

  • Download URL: peaq_sdk-1.0.0.tar.gz
  • Upload date:
  • Size: 33.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for peaq_sdk-1.0.0.tar.gz
Algorithm Hash digest
SHA256 2ba403bdb66d59b53e5c17a0ca1ca77bf2c4753c9a338b5ee472ef86d4e4d479
MD5 828d9a144c1fad270e6c77e3641ff1d8
BLAKE2b-256 672bc44ad28340fe36aad56333a1421cefb0af4bf7c65db4ab108c339694974c

See more details on using hashes here.

Provenance

The following attestation bundles were made for peaq_sdk-1.0.0.tar.gz:

Publisher: publish-sdk.yml on peaqnetwork/peaq-sdk-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file peaq_sdk-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: peaq_sdk-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 40.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for peaq_sdk-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 30cc3bda04bb15616d6308ec1730983aebe9fcb73c7e19cbcd2722a2c364630f
MD5 d0b7a4478d6bb3f61957973801fb39cc
BLAKE2b-256 b64b64d58239bfba5378fdccfeca4c5cd0d056dba20bf084e156e558ebdbbfb4

See more details on using hashes here.

Provenance

The following attestation bundles were made for peaq_sdk-1.0.0-py3-none-any.whl:

Publisher: publish-sdk.yml on peaqnetwork/peaq-sdk-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page