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 regtest
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 regtest)
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.17.tar.gz
(116.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 kaleido_sdk-0.1.17.tar.gz.
File metadata
- Download URL: kaleido_sdk-0.1.17.tar.gz
- Upload date:
- Size: 116.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f54df6cff476f4ed4f1dc2c05f021e41a33a72ea5766098783443bfca400a541
|
|
| MD5 |
89473e54a732cfd7a68b9878a092c972
|
|
| BLAKE2b-256 |
450c372fc156024fc6d7483e5043101be77a51076a23f359f38b95784a58b2f6
|
File details
Details for the file kaleido_sdk-0.1.17-py3-none-any.whl.
File metadata
- Download URL: kaleido_sdk-0.1.17-py3-none-any.whl
- Upload date:
- Size: 45.0 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 |
be19390ac5e47cb23e6fdac7225a2c1fdf8585c5ae15179ad16a6fc220393721
|
|
| MD5 |
fe64812509f8790df9c0b8ff6cdd6f3a
|
|
| BLAKE2b-256 |
00f725ecf9e88e52804e087f16269e4b103b69b9248dd19d9cde9dc02e59d486
|