Files
jwinterm 6d22ba76ec Add cw_mweb generated_bindings.g.dart stub for desktop builds
Cake's mwebd Go daemon is only built for iOS and Android — no Linux/macOS/
Windows toolchain in their build scripts. ffigen consequently never runs
on those platforms, leaving cw_mweb/lib/mweb_ffi.dart dangling on a
non-existent generated_bindings.g.dart import.

This stub provides type-compatible signatures so the Dart build compiles
on every platform. At runtime, DynamicLibrary.open will fail on desktop
(no libmweb.so/.dll/.dylib shipped) and MWeb features will no-op — standard
non-MWEB Litecoin sends/receives still work fine through cw_bitcoin.

For Android the real bindings are still produced via ffigen against the
libmweb.h Go-generated header, overwriting this stub at build time.

Force-added past the *.g.dart gitignore — this one's a hand-maintained
desktop fallback, not a build artifact.
2026-05-14 18:19:53 -04:00
..
2025-09-12 16:13:00 +03:00
2024-09-28 05:22:25 +03:00
2025-11-24 17:58:12 +01:00
2024-09-28 05:22:25 +03:00
2024-09-28 05:22:25 +03:00
2025-09-12 16:13:00 +03:00
2024-09-28 05:22:25 +03:00

cw_mweb

MimbleWimble Extension Blocks (MWEB) integration bridge for Cake Wallet modules that support MWEB-enabled chains.

Features

  • Dart platform interface and method-channel implementation.
  • Protobuf stubs for mwebd interactions (mwebd.pb*.dart).
  • Provides a uniform API surface for MWEB-capable coins.

Usage

Import cw_mweb and use the platform interface to interact with an MWEB daemon/binding. See the chain-specific modules for concrete usage.