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

KarpelesLab / libwallet / 24678838223
25%

Build:
DEFAULT BRANCH: master
Ran 20 Apr 2026 04:55PM UTC
Jobs 1
Files 98
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

20 Apr 2026 04:46PM UTC coverage: 21.264% (+0.2%) from 21.043%
24678838223

push

github

MagicalTux
Swap:availability — feature-flag endpoint for UI gating

New cheap local-only endpoint UIs call once when the active
network changes to decide whether to render a "Swap" button.
No RPC — purely policy over registered providers + build-time
credentials.

Current build:
- Solana: available (Jupiter Ultra + dFlow, no keys needed)
- EVM: available=false, reason="missing_api_key" (1inch key
  ships empty; flips to available once OneInchAPIKey is
  populated)
- Bitcoin: available=false, reason="unsupported_chain"

Dart: SwapApi.availability() returns SwapAvailability
{available, chain, providers, reason}. Logic extracted into
a pure computeAvailability() so the per-chain rules have
table-driven unit tests without needing a temp env per case.

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

36 of 46 new or added lines in 2 files covered. (78.26%)

2530 of 11898 relevant lines covered (21.26%)

69.19 hits per line

Uncovered Changes

Lines Coverage ∆ File
10
77.78
wltswap/availability.go
Jobs
ID Job ID Ran Files Coverage
1 24678838223.1 20 Apr 2026 04:55PM UTC 98
21.26
GitHub Action Run
Source Files on build 24678838223
  • Tree
  • List 98
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24678838223
  • bc5ebd41 on github
  • Prev Build on master (#24654868686)
  • Next Build on master (#24679627981)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc