Skip to content

Comments

chore: merge from develop to preview#4432

Merged
jorbuedo merged 8 commits intopreviewfrom
develop
Dec 15, 2025
Merged

chore: merge from develop to preview#4432
jorbuedo merged 8 commits intopreviewfrom
develop

Conversation

@jorbuedo
Copy link
Contributor

@jorbuedo jorbuedo commented Dec 15, 2025

Note

Switch voting registration to hex metadata with better fee estimation, add legacy public key QR parsing, batch/simplify airdrop thaw notifications, and refine airdrop/address UX and icons.

  • Transaction/Voting (CIP-15/36):
    • Use hex for voting/staking keys and addresses in metadata; update creators createCIP15VotingMetadata and createCIP36VotingMetadata (+ tests).
    • Adjust fee/size estimates and buffers; in builder, precompute size (incl. metadata/witness set) to set manual fee before addChangeIfNeeded.
    • Voting recipe updated to hex conversions, larger CIP-36 size/buffer, and nonce/TTL handling unchanged.
  • Airdrop:
    • Schedule one notification per unique thaw date; prefetch existing IDs; simpler content; Android channel setup; robust errors.
    • Eligibility fetch: disable retries, add small rate-limit delays, include external addresses, and stable ordering; expose hard refresh.
    • Manual Address modal: multiline input to process multiple addresses with caching, rate-limit delays, results summary, and query invalidation; removal updates React Query cache directly.
  • Wallet Manager:
    • For read-only xpub wallets, store initial address with enableDiscovery: false.
  • Links/Scan:
    • Add parseLegacyPublicKeyQR to support legacy JSON {publicKeyHex,path}; integrate into scanner before Cardano link parsing.
  • UI/Icon:
    • Map STAKE_DEREGISTRATION to Staking icon instead of StakingKeyDeregistered.

Written by Cursor Bugbot for commit afef667. This will update automatically on new commits. Configure here.

jorbuedo and others added 8 commits December 14, 2025 01:04
- Add API rate limiting (200ms delay) to prevent rate limit errors
- Support multiple manual addresses (one per line) in ManualAddressModal
- Add cache checking before API calls to avoid unnecessary requests
- Maintain original order of manual addresses in allocation list
- Optimize address removal to update cache directly without network calls
- Add progress tracking for batch address processing
Add parser for legacy yoroi-frontend QR code format that exports publicKeyHex as JSON.
When scanned with the in-app scanner, these legacy QR codes are now interpreted
as read-only wallet restoration, same as the newer web+cardano:// format.

The parser extracts accountVisual from the derivation path array if present,
ensuring proper restoration for wallets with multiple accounts.
…g restore

Full read-only wallets with accountPubKeyHex can derive addresses directly,
so they don't need to scan transaction history for address discovery.
@jorbuedo jorbuedo merged commit 3477462 into preview Dec 15, 2025
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant