Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

Kaleidoswap Python SDK

Python SDK for trading RGB assets on the Lightning Network via the Kaleidoswap protocol.

Installation

pip install kaleidoswap-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

Metadata

Release files for kaleidoswap-sdk 0.5.6

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

Source distribution (sdist)

Source distribution for kaleidoswap-sdk 0.5.6
File Size Uploaded Provenance Actions
kaleidoswap_sdk-0.5.6.tar.gz 119.1 kB Without provenance Details for kaleidoswap_sdk-0.5.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for kaleidoswap-sdk 0.5.6
File Interpreter ABI Platform Actions
kaleidoswap_sdk-0.5.6-py3-none-any.whl Python 3 none any Details for kaleidoswap_sdk-0.5.6-py3-none-any.whl

Total release size: 165.8 kB

Release files / kaleidoswap_sdk-0.5.6.tar.gz

Download URL kaleidoswap_sdk-0.5.6.tar.gz
Size 119.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8f6c232d3e8f6a57eb1cc960794b396d345d15643aff7c7def1541c0e9861911
BLAKE2b-256 checksum
How to use checksums
d6868f54f036109e1efe581a5c6d2faa425f3c73636408c2cc49696a94b334ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / kaleidoswap_sdk-0.5.6-py3-none-any.whl

Download URL kaleidoswap_sdk-0.5.6-py3-none-any.whl
Size 46.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
de19848d0019ffd1df0e39fb01c19c38365cf209cf75b13674865055746940ed
BLAKE2b-256 checksum
How to use checksums
cd3d45fdea7f2710889d56e95118dd7387b0a3bc6e73c431a789e159249fd89b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Security for kaleidoswap-sdk 0.5.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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