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

KarpelesLab / libwallet
22%

Build:
DEFAULT BRANCH: master
Repo Added 28 Mar 2026 05:11PM UTC
Token yw6jh1UY3Kn6YCjoGnv4AU2zljFryiLec regen
Build 306 Last
Files 128
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

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • master

07 Jun 2026 03:12PM UTC coverage: 22.349% (-0.2%) from 22.499%
27096383372

push

github

MagicalTux
wltswap: drop Jupiter/dFlow/1inch + add Swap:countryAvailability + bump 0.4.56

OKX-only cleanup:

The legacy Jupiter Ultra, dFlow, and 1inch adapters have been
unreached since the OKX migration — left in the tree behind
commented RegisterProvider lines as a flip-back safety net. Fully
removed now:

- wltswap/jupiter.go, wltswap/dflow.go, wltswap/oneinch.go deleted.
- wltswap/http_test.go (all 6 tests were Jupiter-specific) deleted.
- Provider URLs, API keys, referral accounts, and the 1inch
  native-sentinel constants dropped from http.go.
- oneInchSupportedChains removed; computeAvailability's signature
  drops the oneInchKey parameter and shrinks to OKX-only branches.
- providerDisplayLabel switch loses the legacy cases — only
  "okx_solana" / "okx_evm" remain.
- approval.go's per-provider spender-label switch collapses to the
  generic "<ProviderLabel> Router" fallback.
- fetchEVMNonce (previously inlined in oneinch.go) moves to a small
  evm_util.go so any future EVM helper has a home.
- Docstrings + comments across swap.go, approval.go, provider.go,
  errors.go, okx.go, Swap:availability's Dart wrapper, and the
  Dart SwapQuote / SwapAvailability / QuoteAttempt models updated
  to OKX-centric wording.

Net diff: -1504 / +186 lines; full test suite + dart analyze pass.

New endpoint:

Swap:countryAvailability — cheap predicate the host calls from
settings / onboarding to decide whether the Swap UI should be
visible at all for the user's jurisdiction.

- Input:  CountryAvailabilityRequest { country: string }
          (ISO 3166-1 alpha-2, case-insensitive)
- Output: CountryAvailabilityResult { available, country, reason }
- Source of truth: https://www.okx.com/app-availability/ios
  (121 jurisdictions, 2025-05-22 snapshot)

Reasons: empty on success, "invalid_country" on a bad code,
"country_not_supported" when the code parses but isn't on the
allow-list. init() asserts every code in okxAvailableCountries
resolves in countrydb so a typo in the sta... (continued)

19 of 49 new or added lines in 5 files covered. (38.78%)

53 existing lines in 2 files now uncovered.

4176 of 18685 relevant lines covered (22.35%)

100.97 hits per line

Relevant lines Covered
Build:
Build:
18685 RELEVANT LINES 4176 COVERED LINES
100.97 HITS PER LINE
Source Files on master
  • Tree
  • List 128
  • Changed 8
  • Source Changed 8
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
27096383372 master wltswap: drop Jupiter/dFlow/1inch + add Swap:countryAvailability + bump 0.4.56 OKX-only cleanup: The legacy Jupiter Ultra, dFlow, and 1inch adapters have been unreached since the OKX migration — left in the tree behind commented RegisterProvider... push 07 Jun 2026 03:14PM UTC MagicalTux github
22.35
27023772732 master fix SPL transfer "Program failed to complete" + simulate CU limit + bump 0.4.55 A user trying to send 1.315764 USDT on 0.4.53 got back: Transaction simulation failed: Error processing Instruction 1: Program failed to complete The mainnet tr... push 05 Jun 2026 03:26PM UTC MagicalTux github
22.5
27018188820 master transfer: SPL Token-2022 with transfer-fee + SPL preflight + bump 0.4.54 Stage 2 of the asset-aware transfer chain. 0.4.53 covered SPL Token-1 (USDT/USDC); this release fills in the remaining holes. Token-2022 (wlttx/solana_token2022.go): - Pro... push 05 Jun 2026 01:40PM UTC MagicalTux github
22.49
27014048686 master transfer: resolve tx.Asset and route SPL/ERC-20 internally + bump 0.4.53 `Transaction.type = "transfer"` was supposed to mean "send this asset" but the Solana sign path ignored tx.Type entirely and built a native SOL transfer regardless. A USDT t... push 05 Jun 2026 12:12PM UTC MagicalTux github
22.42
27005237997 master device transfer: rename confirm/cancel endpoints to single-colon form + bump 0.4.52 The 0.4.51 session-lifetime fix was correct, but the user kept getting LibwalletException(404): Not found on confirmDeviceTransferExport — same symptom, different... push 05 Jun 2026 08:51AM UTC MagicalTux github
21.91
27001516522 master ci/publish-dart: refresh OIDC token between retries The "Invalid JWT token: invalid timestamps" failure mode the workflow header anticipated turned out to be subtler than backoff alone could clear: when `dart pub publish` hits this error it DELET... push 05 Jun 2026 07:25AM UTC MagicalTux github
21.86
26999604926 master ci/publish-dart: respect workflow_dispatch tag input in verify + release-wait Both steps read GITHUB_REF_NAME directly. On a tag push that's the tag itself; on a workflow_dispatch run it's the dispatched ref (master), which makes the verify step ... push 05 Jun 2026 06:37AM UTC MagicalTux github
21.86
26999512686 master ci/publish-dart: per-attempt timeout + workflow_dispatch retry v0.4.51's tag-triggered publish hung in `dart pub publish --force` for 2h+ before anyone noticed. The retry loop's three attempts never fired because the first attempt never returned.... push 05 Jun 2026 06:34AM UTC MagicalTux github
21.85
26998694630 master test_app: use test() not testWidgets() for FFI-only integration tests xcodebuild test exposed a real failure that `flutter test` happened to hide: testWidgets installs a per-test SemanticsHandle verifier that compares the handle count at start vs... push 05 Jun 2026 06:11AM UTC MagicalTux github
21.85
26997545604 master ci/dart-test: dump the full modern xcresulttool output + scan more fields The previous jq query keyed on `failureMessages`, which doesn't exist in the Xcode 16 test-results schema (modern schema uses `failureText` and nests messages under summary... push 05 Jun 2026 05:38AM UTC MagicalTux github
21.86
See All Builds (306)

Badge your Repo: libwallet

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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