Skip to main content
Documentation

Liquid Wallet Kit (LWK)
on Railway

Deploy Blockstream's Liquid Wallet Kit on Railway for multi-sig Bitcoin/Liquid operations with Jade HWW support.

Prerequisites

  • โœ“Railway account with a project
  • โœ“Blockstream Jade hardware wallet (optional, for HWW)
  • โœ“Basic CLI knowledge (cargo, docker)

Architecture

๐Ÿ”ง
LWK CLI
Rust-based wallet kit
๐Ÿš‚
Railway
Hosting & persistence
๐Ÿ’Ž
Jade HWW
Hardware signing

Setup Guide

1

Clone LWK Repository

git clone https://github.com/Blockstream/lwk.git
cd lwk
2

Build LWK

cargo build --release
# Or use Docker:
docker build -t lwk .
3

Set Up Signer

Choose your signing method:

Software Signer
./lwk_cli signer create --mnemonic "your twelve words..."
Jade HWW
./lwk_cli signer create --jade /dev/ttyUSB0
4

Create Multi-Sig Wallet

# 2-of-2 multisig example
./lwk_cli wallet create   --descriptor "wsh(multi(2,key1,key2))"   --name my-liquid-wallet   --network liquid
5

Deploy to Railway

# Option A: Docker
railway init
railway up

# Option B: Direct binary
# Add start command in Railway:
./lwk_cli server start --port $PORT

Railway Environment

# Required environment variables:
LIQUID_NETWORK=liquid
ELECTRUM_URL=https://liquid.electrum.blockstream.info:50002
ESPLORA_URL=https://liquid.electrum.blockstream.info

Using the Wallet

Get Balance
./lwk_cli wallet balance --wallet my-liquid-wallet
Issue Asset
./lwk_cli asset issue \ --ticker MYTOKEN \ --name "My Token" \ --amount 1000000 \ --wallet my-liquid-wallet
Send Transaction
./lwk_cli tx create \ --wallet my-liquid-wallet \ --recipient lq1... \ --satoshi 100000

Agentbot Integration

Connect your LWK instance to Agentbot for automated Liquid operations:

  • โ†’Use x402 protocol for L-BTC payments
  • โ†’Issue security tokens for fan clubs
  • โ†’Automated royalty distributions via Liquid
ONLINE
ยฉ 2026 Agentbot