MCPcopy Index your code
hub / github.com/Blockstream/lwk

github.com/Blockstream/lwk @cli_0.18.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release cli_0.18.1 ↗ · + Follow
4,718 symbols 16,101 edges 400 files 1,323 documented · 28%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Liquid Wallet Kit

<strong>Liquid Wallets Made Easy</strong>

Documentation

About

Liquid Wallet Kit (LWK) is a comprehensive, Rust-based toolkit for building Liquid Network wallets and applications. LWK provides robust, modular components that abstract away the complexities of Liquid, allowing developers to focus on their unique use cases. It's the go-to library for anyone looking to integrate Liquid functionality without having to build it from scratch.

LICENSE

MIT

Extension points exported contracts — how you extend this code

Store (Interface)
A generic key-value storage interface. This trait uses `&self` for all methods, allowing implementations to use interio [8 …
lwk_common/src/store.rs
Transport (Interface)
Communication layer between the bitcoin client and the Ledger device. [4 implementers]
lwk_ledger/src/client.rs
SwapPersistence (Interface)
Trait for swap response types that support persistence. [3 implementers]
lwk_boltz/src/store.rs
BlockchainBackend (Interface)
Trait implemented by types that can fetch data from a blockchain data source. [3 implementers]
lwk_wollet/src/clients/blocking/mod.rs
AsRpcError (Interface)
(no doc) [3 implementers]
lwk_tiny_jrpc/src/error.rs
KeyStoreMeta (Interface)
Runtime-provided signer capabilities required by wallet-abi transaction resolution. This trait is intentionally limited [1 …
lwk_simplicity/src/wallet_abi/schema/runtime_deps.rs
ForeignStore (Interface)
(no doc) [1 implementers]
lwk_bindings/src/store.rs
Stream (Interface)
A trait for async read/write operations used by hardware wallet connections [4 implementers]
lwk_common/src/lib.rs

Core symbols most depended-on inside this repo

clone
called by 892
lwk_bindings/src/invoice.rs
iter
called by 318
lwk_app/src/state.rs
build
called by 195
lwk_wollet/src/wollet.rs
as_ref
called by 149
lwk_wasm/src/amp0.rs
as_ref
called by 139
lwk_bindings/src/amp0.rs
to_value
called by 133
lwk_wollet/src/amp0.rs
insert
called by 122
lwk_app/src/state.rs
parse
called by 110
lwk_wasm/src/blockdata/address.rs

Shape

Method 2,744
Function 1,242
Class 579
Enum 133
Interface 19
Route 1

Languages

Rust97%
Python1%
TypeScript1%
Go1%
Kotlin1%
C#1%

Modules by API surface

lwk_wollet/src/wollet.rs104 symbols
lwk_wollet/src/amp0.rs100 symbols
lwk_wollet/tests/e2e.rs98 symbols
lwk_bindings/src/lightning.rs77 symbols
lwk_wollet/src/descriptor.rs66 symbols
lwk_boltz/src/lib.rs66 symbols
lwk_wollet/src/clients/asyncr/esplora.rs60 symbols
lwk_app/src/client.rs56 symbols
lwk_cli/tests/cli.rs54 symbols
lwk_wollet/src/update.rs52 symbols
lwk_boltz/src/blocking.rs52 symbols
lwk_wasm/src/pset.rs50 symbols

For agents

$ claude mcp add lwk \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact