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.19
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.19.tar.gz | 117.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kaleido_sdk-0.1.19-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 162.4 kB
Release files / kaleido_sdk-0.1.19.tar.gz
| Download URL | kaleido_sdk-0.1.19.tar.gz |
|---|---|
| Size | 117.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8f05a46860ea143c2fb5b173367b36dfaa377e9a41c69cda51ae28a623aef089
|
|
BLAKE2b-256 checksum How to use checksums |
8106d3e35bff467baf70c6553d320b59392555af3bbc2ff200b696b1a5d52f0e
|
| 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.19-py3-none-any.whl
| Download URL | kaleido_sdk-0.1.19-py3-none-any.whl |
|---|---|
| Size | 45.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
931ce6f7b54fbca84f7339456fea64b521b4266c63728427b294b77d4e5e549d
|
|
BLAKE2b-256 checksum How to use checksums |
691b8670ac7ae33a0f9d07eb627716add4865c3bf10af0de4be6c352ea849927
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.16
|