• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

KarpelesLab / libwallet / 24342688199
25%

Build:
DEFAULT BRANCH: master
Ran 13 Apr 2026 12:22PM UTC
Jobs 1
Files 59
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Apr 2026 12:12PM UTC coverage: 27.924% (-0.6%) from 28.517%
24342688199

push

github

MagicalTux
add Dart package with FFI transport for direct Go↔Dart communication

Adds a pure Dart client package (dart/) that communicates with the Go
library via direct FFI function calls using NativeCallable.listener
for Go→Dart callbacks. This eliminates the Unix socket transport that
would disconnect when apps go to background on iOS/Android.

Go side (cshared/ffi.go):
- LibwalletInit, LibwalletRequest, LibwalletSetEventCallback, LibwalletDestroy
- Async request handling via goroutines with progress callback support
- Event forwarding via MakeJsonSocketFD internal bridge

Dart side (dart/lib/):
- Transport abstraction with FfiTransport (preferred) and JsonRpcConnection (fallback)
- Typed API covering all endpoints: Wallet, Account, Network, Transaction, etc.
- 15 model classes matching Go struct JSON serialization
- Sealed event classes with Stream-based delivery
- Native asset hook (hook/build.dart) for pub.dev binary distribution

Tests: 48 passing (33 unit + 9 socket integration + 6 FFI integration)
CI: dart-test.yml with host, iOS simulator, and Android emulator jobs

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

0 of 135 new or added lines in 2 files covered. (0.0%)

1812 of 6489 relevant lines covered (27.92%)

3.59 hits per line

Uncovered Changes

Lines Coverage ∆ File
115
0.0
cshared/ffi.go
20
0.0
dart/testserver/main.go
Jobs
ID Job ID Ran Files Coverage
1 24342688199.1 13 Apr 2026 12:22PM UTC 59
27.92
GitHub Action Run
Source Files on build 24342688199
  • Tree
  • List 59
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24342688199
  • e8a500d7 on github
  • Prev Build on master (#24335795699)
  • Next Build on master (#24344166331)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc