Metadata-Version: 2.4
Name: peaq-sdk
Version: 1.0.0
Summary: Peaq Network SDK for DID, Storage, RBAC operations, and blockchain interactions
Home-page: https://github.com/peaq-network/peaq-py/
Author: Peaq Network
Author-email: info@peaq.network
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: web3>=7.10.0
Requires-Dist: substrate-interface>=1.7.11
Requires-Dist: protobuf==5.28.2
Requires-Dist: varint==1.0.2
Requires-Dist: base58==2.1.1

# Peaq SDK

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

## Installation

```bash
pip install peaq-sdk
```

## Usage

```python
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 
