How ajtransak/transak-redirect works
Project type and purpose
• This is a single‑page front‑end demo application built with Vite, React, and TypeScript.
• Its sole purpose is to showcase Transak’s redirectURL & walletRedirection query parameters in action.
• It’s deployed as a static site (Vercel) and interacts only with the Transak widget/service.
File structure
• Top‑level files: configuration for ESLint, TypeScript, Vite, Vercel, plus package.json.
• src/:
• main.tsx + index.html: entry point and HTML template.
• App.tsx: root component housing the router.
• pages/: three routes (Home.tsx, Redirect.tsx, 404.tsx).
• components/Button.tsx: reusable UI.
• assets/: images or styles.
• No backend code—everything runs client‑side.
README for additional insights
• Confirms that it’s a demo of Transak’s redirection features.