Looking for freedom, now developing KaleidoSwap
Installation
Download Binaries
Installation Methods
- Windows: Download the
.exeinstaller and run it. - macOS: Download the
.dmgfile, open it, and drag KaleidoSwap to your Applications folder. - Linux: Download the
.AppImageor.debfile and install/run it.
Node Setup Options
Option 1: Local Node (Recommended for Self-Custody)
- Self-Custodial: You hold the keys. No third party can freeze your funds or censor your transactions.
- Privacy: Your data stays on your device.
- Independence: No reliance on external service providers.
Option 2: Remote Node
- Advantages: No local resource usage, 24/7 availability.
- Trade-off: Requires trusting the host or managing a remote server.
Creating a Wallet
- Open KaleidoSwap and select Local Node.
- Click on Create New Wallet.
- Account Setup: Enter an Account Name and select the Network (e.g., Bitcoin Mainnet, Testnet, Signet).
- Advanced Configuration (Optional): If you are a power user, you can configure custom RPC endpoints, Indexer URLs, or Proxy settings under "Advanced Settings".
- Click Continue.
- Password: Set a strong password to encrypt your wallet file locally.
- Recovery Phrase: Write down your seed phrase and store it securely.
- Critical: This phrase is needed to recover your on-chain funds and node identity.
- Warning: Lightning channel states cannot be fully recovered from the seed alone. You must also maintain Static Channel Backups (SCB) to recover funds locked in channels.
Dashboard Overview
Funding Your Wallet
Depositing Bitcoin
- Click Deposit in the Quick Actions menu.
- Select BTC from the asset list.
- Choose your deposit method: On-chain or Lightning.
- On-chain: Scan the QR code or copy the address to send Bitcoin from another wallet.
- Lightning: Generate an invoice for the desired amount.
Depositing RGB Assets & Colored UTXOs
- Click Deposit and select the RGB asset (e.g., USDT). Important: If this is the first time your node is receiving this specific asset, leave the Asset ID field empty. Entering an ID for an unknown asset will cause the node to return an error as it doesn't recognize it yet.
- Choose On-chain or Lightning.
On-chain Receive Modes: Witness vs. Blinded
- Blinded Receive (Recommended for Privacy): You provide a "blinded" UTXO to the sender. You are asking the sender to send assets to an existing UTXO that you own, but you obfuscate the actual UTXO identifier. This offers better privacy.
- Witness Receive: You provide a standard Bitcoin address. You are asking the sender to create a new UTXO for you by sending the assets to that address. This allows the RGB assets to be attached directly to the new UTXO created by the transaction.
Lightning Deposit
Opening Channels with RGB Assets
Buying a Channel from Kaleido LSP
- Go to the Channels tab. You will see options to "Open Channel" (manual) or "Buy Channel" (LSP).
- Click Buy Channel.
- Connect to LSP: The app will connect to the default Kaleido LSP. This provider offers inbound liquidity and supports RGB asset routing.
- Configure Channel:
- Capacity: Select the total Bitcoin capacity for the channel.
- RGB Allocation: Choose the RGB asset (e.g., USDT) you want to be able to receive or send. The LSP will ensure the channel is configured to support this asset.
- **RGB Allocation**: Choose the RGB asset (e.g., USDT) you want to be able to receive or send. The LSP will ensure the channel is configured to support this asset.
- Payment: You must pay a fee to the LSP for opening the channel and providing liquidity. You can pay using Lightning or On-chain Bitcoin. The payment can be made from your internal KaleidoSwap wallet or an external wallet.
- Once payment is confirmed, the LSP will initiate the channel opening transaction. You will see an Order Completed screen.
- After confirmation on the blockchain, your channel will be active and ready for RGB transfers.
Trading: Taker-Maker Model
Swapping with a Market Maker (LSP)
- Navigate to the Trade tab and select Market Maker.
- Enter Amount: Input the amount of Bitcoin you want to send (or the asset you want to receive). The interface will show the estimated exchange rate and fees.
- Confirm Swap: Review the details, including the exchange rate and the exact amount you will receive. Click Confirm Swap.
- Processing: The swap is executed atomically on the Lightning Network. You will see a status screen indicating the swap is pending.
- Success: Once the HTLCs are settled, the swap is complete, and the assets are in your channel.
Developer API
- RGB LSPS1: For automated liquidity services.
- Swap API: For programmatic trading and market making.
- WebSocket: For real-time market data subscriptions.
Conclusion
Author
This tutorial has been written by Arshia
You can say thanks by tipping the professor.
Credits
This tutorial has been proofread by Arshia-r-m
Even if this content is in its original language, human review is necessary to ensure its accuracy.
Arshia-r-m982 sats491 satsEvery content on the platform is the result of a collaborative effort: each lesson, translation, and revision is made possible by the work of contributors. For this reason, we are always looking for proofreaders who can review our content in many languages. If you want to participate in the proofreading process, please reach out in our Telegram group and read our tutorial. We remind you that this content is open-source - licensed under CC BY-SA - so it can be freely shared and used, as long as the original source is credited.
