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
Metadata
Release files for kaleido-sdk 0.1.20
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| kaleido_sdk-0.1.20.tar.gz | 117.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kaleido_sdk-0.1.20-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 162.9 kB
Release files / kaleido_sdk-0.1.20.tar.gz
| Download URL | kaleido_sdk-0.1.20.tar.gz |
|---|---|
| Size | 117.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
feec91f7466c1e72425865508df3d5c29ba0628620f108adb0bbee2a3ca983b2
|
|
BLAKE2b-256 checksum How to use checksums |
d90de28559215be8c8c56ebe39fe0ebfa8c8e9b3f8f7349623627f63ea4e7268
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.16
|
Release files / kaleido_sdk-0.1.20-py3-none-any.whl
| Download URL | kaleido_sdk-0.1.20-py3-none-any.whl |
|---|---|
| Size | 45.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3bc9d6d81fc9be5b6709e1b5ad41d8e4ae1f17553a767b210913dd9e34c3ef61
|
|
BLAKE2b-256 checksum How to use checksums |
92a1b08723cee910aa173dd171c7335ab965111c0df9179b39d9f538712303ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.16
|