Skip to content

Feature/simulation mode#5

Open
ShreyasThakur0809 wants to merge 3 commits intoprerelease-v0.1.3from
feat/simulation-mode
Open

Feature/simulation mode#5
ShreyasThakur0809 wants to merge 3 commits intoprerelease-v0.1.3from
feat/simulation-mode

Conversation

@ShreyasThakur0809
Copy link
Copy Markdown
Member

-Removed the isolated TryNowModal popup.
-Added a global isSimulationMode toggle to the WalletContext that persists across sessions via localStorage.
-Replaced the "Try Now" navbar trigger with a "Simulation Mode" toggle button.
-Hidden the "Connect Wallet" button when Simulation Mode is active, replacing it with a "Simulation Active" badge.
-Retained full Web2 validation (Luhn algorithm, expiry checks) when adding a card.
-Bypassed Web3 signing and Soroban on-chain storage when Simulation Mode is active.
-Automatically generates a simulated demo encryption key, mocked transaction hash, and fake latency to mimic real blockchain interaction.
-Saves tokenized simulation cards locally to tychee_cards_sim_user in the browser so they still visually render on the dashboard.

Shreyas Thakur added 2 commits April 13, 2026 04:05
- Add 'Try Now' button to navigation (desktop + mobile)
- New TryNowModal component with real web2 card validation (Luhn, expiry, CVV)
- Live network detection (Visa/Mastercard/RuPay/Amex) as user types
- AES-256-GCM encryption using Web Crypto API (no wallet required)
- Simulated on-chain TX with dummy hash for demo purposes
- Animated 5-step progress flow and success card view with copyable token ID
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 14, 2026

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

Project Deployment Actions Updated (UTC)
tychee Ready Ready Preview, Comment Apr 20, 2026 11:58am

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.

3 participants