Kaleidoswap Python SDK
Python SDK for trading RGB assets on the Lightning Network via the Kaleidoswap protocol.
Installation
pip install kaleido-sdk
Quick Start
The SDK exposes two sub-clients depending on what you need:
| Sub-client | Config key | What it does |
|---|---|---|
client.maker |
base_url |
Kaleidoswap market API — assets, quotes, swap orders, LSP |
client.rln |
node_url |
Your RGB Lightning Node — wallet, channels, payments, RGB assets |
from kaleido_sdk import KaleidoClient
# Zero-config — defaults to signet
client = KaleidoClient.create()
assets = await client.maker.list_assets()
# Maker API only
client = KaleidoClient.create(base_url="https://api.kaleidoswap.com")
assets = await client.maker.list_assets()
# Node only (base_url still defaults to signet)
client = KaleidoClient.create(node_url="http://localhost:3001")
info = await client.rln.get_node_info()
# Both together
client = KaleidoClient.create(
base_url="https://api.kaleidoswap.com",
node_url="http://localhost:3001",
)
pairs = await client.maker.list_pairs()
channels = await client.rln.list_channels()
Documentation
Full usage guide, API reference, and examples at https://docs.kaleidoswap.com/sdk/introduction
License
MIT
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
kaleido_sdk-0.1.18.tar.gz
(117.1 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 kaleido_sdk-0.1.18.tar.gz.
File metadata
- Download URL: kaleido_sdk-0.1.18.tar.gz
- Upload date:
- Size: 117.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24a49ab0a356c16dcc19fef52ee8a82d195592666f142e2569a2b688bacee553
|
|
| MD5 |
802ef17484b058793ef38a652dd05f5c
|
|
| BLAKE2b-256 |
c7e4d62dc41bf19778e5988242fbeecd42b3ed23a8ce2fbfb218ce65fd42133e
|
File details
Details for the file kaleido_sdk-0.1.18-py3-none-any.whl.
File metadata
- Download URL: kaleido_sdk-0.1.18-py3-none-any.whl
- Upload date:
- Size: 45.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67220fb91a575e07740b06626b1a7a80174079171906b3b5907d84d7f1b1f18e
|
|
| MD5 |
210b9452f659e63b89fa13a2ab534883
|
|
| BLAKE2b-256 |
a8d66c3e1f9880a17863097f4c97d70c34a218d480560eb520982f762099e7dc
|