Python SDK for private cross-chain transactions with ZK proofs. Supports ETH, SOL, StarkNet, Base, Sei, AVAX, SUI + 13 chains.
Project description
# Shade Privacy Python SDK
Python SDK for private, cross-chain transactions with zero-knowledge proofs. Break sender-receiver links across 20+ blockchains.
## Features
- 🛡️ **True Privacy**: Break sender-receiver link with ZK proofs
- 🔗 **Multi-Chain**: ETH, SOL, StarkNet, Base, Sei, AVAX, SUI, +13 more
- ⚡ **Simple API**: Intent-based transactions, real-time WebSocket updates
- 🔐 **Secure**: End-to-end encryption, HMAC signing, enterprise-ready
## Installation
```bash
pip install shade-privacy
Quick Start
from shade_privacy import ZKIntentSDK
# Initialize
sdk = ZKIntentSDK(
api_key="your_api_key",
hmac_secret="your_hmac_secret"
)
# Create private intent
payload = {
"recipient": "0x...",
"amount": 1.5,
"token": "ETH",
"walletType": "starknet" # or 'eip-155', 'solana', etc.
}
result = sdk.create_intent(
payload=payload,
wallet_signature="0x...",
metadata={"note": "Private payment"}
)
print(f"✅ Intent ID: {result.get('intentId')}")
Supported Chains
- Ethereum (
eip-155) - Solana (
solana) - StarkNet (
starknet) - Base (
eip-155) - Sei (
sei) - Avalanche (
eip-155) - Sui (
sui) - Polygon, Arbitrum, Optimism, BNB Chain, +12 more
Documentation
Full documentation: docs.shadeprivacy.com
License
MIT License - see LICENSE
## For PyPI (setup.py short description):
```python
setup(
name="shade-privacy",
version="1.0.0",
description="Python SDK for private cross-chain transactions with ZK proofs. Supports ETH, SOL, StarkNet, Base, Sei, AVAX, SUI + 13 chains.",
# ... rest of setup
)
Version checking snippet for docs:
import shade_privacy
print(f"Shade Privacy SDK version: {shade_privacy.__version__}")
# Check if compatible
from packaging import version
current = version.parse(shade_privacy.__version__)
required = version.parse("1.0.0")
if current >= required:
print("✅ Version compatible")
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
shade_privacy-1.0.1.tar.gz
(8.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file shade_privacy-1.0.1.tar.gz.
File metadata
- Download URL: shade_privacy-1.0.1.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0bec98250f25e12d7049247283877036bfa5ccd719da93e0c4eab79f793007d6
|
|
| MD5 |
8770554761473a4ba2c833dcdabd563a
|
|
| BLAKE2b-256 |
20882d69ed2f70cc9c588d73cd525263c20874f98c3cb01fe57953e44303d477
|
File details
Details for the file shade_privacy-1.0.1-py3-none-any.whl.
File metadata
- Download URL: shade_privacy-1.0.1-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f0ab516741cbd9b61282493b25e3c992286cd395e506f4825509ff60f9f41ed
|
|
| MD5 |
11e0a9abd11285c74651160e33118977
|
|
| BLAKE2b-256 |
7a629f741702573f391ea642a718f717fd564bd7d4a449381c78d1d7e60244be
|