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:
[ Row 1 ] BuyBLTBYForm | PurchaseSummary
[ Row 2 ] VestingStatusCard | UnlockScheduleTable
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