Skip to main content

Kaleidoswap Python SDK

pypi package

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 (signet; pass your own maker endpoint for mainnet)
client = KaleidoClient.create(base_url="https://api.signet.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.signet.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.22

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kaleido-sdk 0.1.22
File Size Uploaded
kaleido_sdk-0.1.22.tar.gz 117.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for kaleido-sdk 0.1.22
File Interpreter ABI Platform
kaleido_sdk-0.1.22-py3-none-any.whl Python 3 none any Details

Total release size: 163.1 kB

Release files / kaleido_sdk-0.1.22.tar.gz

Download URL kaleido_sdk-0.1.22.tar.gz
Size 117.5 kB
Tags Source
SHA-256 checksum
How to use checksums
22d177f7c1667938861a69fbeb6e8317540e450ac0941cf55131bc8089ae1aad
BLAKE2b-256 checksum
How to use checksums
16710a7cc978f33866ec403f716af86bb8b536203773fc22161dccb93d85edd8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.17

Release files / kaleido_sdk-0.1.22-py3-none-any.whl

Download URL kaleido_sdk-0.1.22-py3-none-any.whl
Size 45.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
70fe43d3ddfd2a6313e29a82bd9682c879d068934f759d4163e309a4095becd9
BLAKE2b-256 checksum
How to use checksums
b11cbed202484afa936a3353d98bcf6021ce9c9abf5263e0859bbaa7757e985f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.17

Release history Release notifications | RSS feed

This release

0.1.22 This release

2 release files

0.1.19

2 release files

0.1.18

2 release files

0.1.15

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page