Skip to content

Polling proof transfer with PWA#18

Merged
WhyAsh5114 merged 13 commits intomasterfrom
polling-proof-transfer
Oct 30, 2025
Merged

Polling proof transfer with PWA#18
WhyAsh5114 merged 13 commits intomasterfrom
polling-proof-transfer

Conversation

@WhyAsh5114
Copy link
Owner

No description provided.

- createProofTransfer: creates DB entry with UUID
- uploadProof: uploads proof from authenticator
- fetchProof: polls for proof by UUID
- Type-safe BigInt serialization/deserialization
- Error handling with descriptive messages
- Include optional transferId in QR data
- Enables online proof transfer alongside QR method
- Backward compatible with existing QR-only flow
- Extract transferId from scanned QR data
- Pass transferId to transaction request handler
- Supports both online and offline proof methods
- Detect transferId in scanned transaction requests
- Automatically upload proof after generation
- Show upload status and success messages
- Maintain QR code display for offline method
- Update button labels based on transfer method
- Add 'Online Proof' and 'QR Code' button options
- Generate UUID and create DB entry for online method
- Implement 2-second polling for proof retrieval
- Auto-execute transaction when proof received
- Show different UI states for each method
- Maintain backward compatibility with QR flow
@vercel
Copy link
Contributor

vercel bot commented Oct 30, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
ethonline-2025-frontend Ready Ready Preview Comment Oct 30, 2025 0:31am

@gitguardian
Copy link

gitguardian bot commented Oct 30, 2025

⚠️ GitGuardian has uncovered 1 secret following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secret in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
16103040 Triggered Generic Password 1636505 .github/workflows/ci.yml View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secret safely. Learn here the best practices.
  3. Revoke and rotate this secret.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@WhyAsh5114 WhyAsh5114 merged commit b0d3f9b into master Oct 30, 2025
4 checks passed
@WhyAsh5114 WhyAsh5114 deleted the polling-proof-transfer branch October 30, 2025 12:31
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