Back to List
ANTTIME SWAP
Point Token Exchange Airdrop Platform
Project Summary
Start Date
2024.06. -
Position
Frontend
Tech Stack
Next.js
Tailwind
WAGMI
Gsap
Zustand
Tanstack Query
Github Action
Firebase Auth
Firebase Hosting
Suspensive
Team Composition
Frontend
1
Backend
1
PM
1
Design
1
Related Links
Time 2 TokenSwap!
Convert your accumulated time points from ANTTIME to ANT TOKEN. The token conversion amount is calculated based on community contribution (mining time, friend invitations) and abuse detection. Check your score to decide how much token conversion to make.
Responsibilities
work_section_background_image

Server/Client Component Strategy

Considering SEO and security requirements

  • • Utilizing server-side based on SEO requirements
    • Pre-rendering SEO-sensitive data fetched in server components
    • Determining access permissions by time period and user authority in server components to avoid browser exposure
Server/Client Component Strategy_image

React18 Suspense Pattern

Separating loading/success/error state components

  • • Utilizing combination with Tanstack Query's useSuspenseQuery
    • Catching Promises with Suspense to display skeleton and loading components. Passing error components to Error Boundary to separate state-specific components.
    • Maintaining Suspense pattern by differentiating component layers when sequential data fetching is required
    • Using Suspensive library's ClientOnly option for requests that need guaranteed fetching within client-side
React18 Suspense Pattern_image

Web3 Wallet Transactions

Web3 wallet connection and transactions using WAGMI

  • • Using Web3 wallets in token swap application and receipt process
    • Connecting major wallets like MetaMask and WalletConnect and retrieving user information
    • Receiving user's token application amount and Merkle proof from server to generate transactions
    • Guiding users to scan success status on Etherscan.
Web3 Wallet Transactions_image

Score Counting Animation

Complex sequential timing animations using GSAP

  • • Sharing animation timing state between components using useContext
    • Actively utilizing React-based dynamic animation libraries like React-Bits and React-Slot-Counter
    • Enabling users to experience their score increase process through dynamic animations
Score Counting Animation_image
Thanks for ReadingBack to List
Ascii3DLily
© 2025
Made by Bumang