Buy BLTBY Token
π§ Purpose
The Buy BLTBY page allows users to purchase $BLTBY tokens directly using ETH or USDC. It interacts with the DiscountSale
contract to apply any active discounts and tracks vesting via the VestingLock
contract.
π₯ User Types
Any wallet-connected user
Access gated based on the current state of the DiscountSale contract
π§© Components
Purchase Flow
BuyBLTBYForm
: Token purchase interface with input for amount and selection of payment currency (ETH or USDC).PurchaseSummary
: Displays the calculated cost, discount applied, and estimated token quantity.
Vesting Info
VestingStatusCard
: Shows user-specific vesting details including locked token count and unlock conditions.UnlockScheduleTable
: Visual breakdown of vesting schedule by date or milestone.
π Layout Structure
View Rows:
Use responsive grid: stack on mobile, side-by-side on desktop
Provide inline validation for payment input
Display fallback/notice if DiscountSale contract is paused or inactive
π Contract Interaction
DiscountSale
β fetch purchase terms, submit transactionVestingLock
β fetch vesting schedule and locked amounts
π§© UX Notes
Pre-fill estimated values when typing amount
Allow toggling between ETH and USDC
Display success + error states with feedback alerts
π§ Future Enhancements
Track userβs total historical purchases
Display claim date countdowns
Integrate fiat onramp (e.g. MoonPay or Coinbase Pay)
Last updated