Problem
PULSE is the project's reward token. The frontend never reads it and never claims it.
frontend/wallet.js displays only native XLM, from Horizon (loadBalance)
- No call to
pulse_token's balance, total_supply, symbol, or decimals
- No call to the leaderboard's
get_pending_reward or claim_pending_rewards
A user earns PULSE by betting and by referring, and has no way to see the balance or collect queued
rewards. scripts/deploy-testnet.sh explicitly grants the market, referral, and leaderboard
contracts minter rights on the token, so rewards are being minted into a balance nobody can see.
Acceptance criteria
Why this is critical
The reward token is the economic core of the product and currently has no user-facing existence.
Problem
PULSE is the project's reward token. The frontend never reads it and never claims it.
frontend/wallet.jsdisplays only native XLM, from Horizon (loadBalance)pulse_token'sbalance,total_supply,symbol, ordecimalsget_pending_rewardorclaim_pending_rewardsA user earns PULSE by betting and by referring, and has no way to see the balance or collect queued
rewards.
scripts/deploy-testnet.shexplicitly grants the market, referral, and leaderboardcontracts minter rights on the token, so rewards are being minted into a balance nobody can see.
Acceptance criteria
get_pending_rewardclaim_pending_rewardswith the standardsimulate -> sign -> submit -> poll flow
name,symbol,decimals) is read from the contract, not hardcodedfrontend/contracts.json, never inlinedWhy this is critical
The reward token is the economic core of the product and currently has no user-facing existence.