Skip to content

Releases: houseofstake/agora-near

v0.1.0-rc.1 - Launch & More

28 Nov 02:34

Choose a tag to compare

This is a communicative release only, to backdate notes that corresponded to dozens of releases over the last 60 days. The notes linked below is a summary prepared by @jefag.

Contributors to this release include @pedrohasf , @kent , @atomauro , @jcarnide and the rest of the Agora team indirectly.

https://hackmd.io/1WMJIJf7QIWFSdA1-6NGiw

Agora x House of Stake Oct & Nov Backdated Release Notes

Key Feature Themes

Category Features
API Public REST API with OpenAPI docs, delegate endpoints, proposal endpoints
Wallet Support HOT wallet, WalletConnect, rNEAR, stNEAR/liNEAR conversion rates
Onboarding 1-click batched transactions, legacy user migration page
Governance Quorum from backend, abstain voting, snapshot-based VP, draft validation
Analytics Mixpanel integration with comprehensive event tracking
Performance BubbleChart memoization/stability fixes, cache invalidation
UX Stake encouragement banners, undelegate CTA, dust hiding, human-friendly time formats

November

November 20

Public API Launch (#211)

  • Added comprehensive REST API with OpenAPI documentation at /api-docs
  • New endpoints: /api/v1/proposals/approved, /api/v1/proposals/pending, /api/v1/proposal/:id
  • New delegate endpoints: /api/v1/delegates, /api/v1/delegates/:address, /api/v1/delegates/:address/voting-history
  • Started API authentication layer (apiAuth.ts)
  • Added OpenAPI spec with 924+ lines of documentation

November 19

FAQ & Documentation Updates

  • Added Unlock Wiki & CLI tool links to FAQ for users needing help with unlocking
  • Fixed navigation links and anchor elements

November 18

Streamlined Onboarding Flow (#210)

  • Implemented "1-click" House of Stake onboarding with batched transactions
  • New useDeployLockupAndLockV2 hook for combined lockup deployment + locking in a single transaction
  • Enhanced VeNearDebugCards with new onboarding flow
  • Removed legacy useHouseOfStakeOnboarding hook (183 lines removed)
  • Updated LockDialog ReviewStep to use new batched transaction flow

November 6

Legacy User Support & Security

  • Created /near/legacy-onboarding page (230 lines) for existing NEAR users to migrate
  • Added CTA in AssetsHome directing legacy users to onboarding flow
  • Improved message sanitization for security (moved higher in call stack)

November 5

Governance & UX Improvements

  • Quorum from Backend (#200): Proposal quorum values now fetched from API rather than hardcoded; new useProposalQuorum hook
  • Undelegate CTA Visibility (#207): New DelegationSummaryCard component with dismissible banner; enhanced ResourceNotFound with CTA options
  • BubbleChart Performance (#208): Memoized votes data to prevent UI freezes; simplified rendering logic (reduced by ~67 lines)
  • Wallet Connect: Added NEAR connect manifest for wallet integration

October

October 29

Rewards Messaging

  • Updated rewards message copy in GovernanceRewardsCard

October 28

Documentation

  • Added wiki link about unstaking LST to FAQ

October 27

BubbleChart Stability Sprint (#201-204)

  • Text Optimization: Refactored text rendering, removed 73 lines of redundant code
  • Data Validation: Added fallback logic—if filter removes all nodes, uses raw data with basic validation
  • Error Handling: Added reset state on errors, conditional rendering for zoom controls based on available nodes
  • Bubble Sizes: Ensured valid bubble sizes (minimum 0.01 radius), prevents rendering issues

October 22-23

Staking Encouragement & Content

  • Videos on Info Page (#199): New InfoVideos component with educational videos
  • Stake Banner Enhancement (#198): Improved StakeEncouragementBanner styling
  • Holdings Banner (#197): New StakeEncouragementBanner shown on HoldingsContent to prompt staking
  • Vote Formatting: Fixed number formatting in vote displays

October 20-21

Governance Precision & UX

  • VP Precision Fix (#193): Consistent voting power formatting across all components; new utility functions in utils.ts (+50 lines)
  • Abstain Option (#189): Added "Abstain" vote option alongside "For"/"Against" in draft proposals; improved timezone display with GMT offset
  • Error Boundary (#190): Improved client boundary error handling to mitigate 500 errors; replaced Button with styled Link in ResourceNotFound
  • Staking Pool Logic (#196): Fixed condition for determining if staking pool was selected

October 18-19

User Holdings & Voting

  • 404 Page (#186): New global error component, enhanced ResourceNotFound with customizable props
  • Lockup Stakeable Balance (#188): Major refactor—split holdings into WalletHoldings and LockupHoldings components; new
    useLiquidLockupBalance hook; users can now see stakeable balance within lockup
  • Snapshot-Based Voting (#187): Vote button disabled if user had no VP at proposal snapshot time; new logic in useReadHOSContract

October 17

Quorum Configuration (#185)

  • Fixed quorum floor calculation bug
  • Added quorum override config in constants.ts
  • New QuorumExplanation component (+43 lines)

October 14-15

rNEAR Support & LST Features (#184)

  • Full rNEAR Integration: New rNEAR icon, contracts, metadata for mainnet
  • Added rNEAR to available tokens, staking provider, lock dialog
  • Price fetching, deposit support, veNEAR calculation for rNEAR
  • Updated debug cards for rNEAR testing
  • Removed deprecated VeNearOnboardingModal (395 lines)
  • Conversion Rate Display (#156): Shows stNEAR/liNEAR to NEAR conversion rate when locking (4 decimal places)
  • Info Page Updates (#181): Removed outdated FAQ about future rewards; updated rewards system documentation

October 13 (Major Release Day)

HOT Wallet Integration (#128)

  • Added @hot-labs/near-connect and @walletconnect/sign-client dependencies
  • Full HOT NearConnector integration behind feature flag
  • Local wallet manifest with multiple wallet configs
  • Legacy selector maintained as fallback
  • Message signature sanitization for HOT wallet

UI/UX Polish

  • Slider Improvements (#179): Enhanced ProjectionSlider with better snapping behavior (+68 lines)
  • Reward Animation (#177): New AnimatedStars component with twinkle effect; Tailwind animation config
  • Hide Dust (#176): Holdings content hides tiny balances below threshold
  • Meta Descriptions (#173): Better SEO with improved page titles and descriptions
  • stNEAR Naming (#172): Renamed "Staked Near" to "Meta Pool stNEAR" for clarity

Feature Configuration

  • Voting Period DRY (#164): Centralized voting period config via useProposalConfig hook
  • Endorsed Delegate Toggle (#168): Removed from wallet dropdown; added localStorage for banner dismissal; new useLocalStorage hook
  • Filtered Activities (#157): HosActivityTable shows filtered activities instead of all

Staking & Delegation

  • Staking Pool Commands (#166): FAQ with CLI commands to select underlying staking pool for staking/unstaking
  • Delegate Button Fix (#161): Corrected conditional for disabling delegate button
  • Lock Button (#154): Dedicated lock button and "available to stake" column in asset row
  • Delegate Statements (#151): Made statements open in same window; fixed code of conduct link
  • Production Middleware (#163): Hide /near debug page in production

October 12

Staking Flow Improvements

  • Stakeable Amount Logic (#152): Smart detection of stakeable amount after locking; shows "View Dashboard" if no NEAR left to stake;
    insufficient balance messaging
  • Forfeit Rewards Fix: Corrected text in UnlockWarning
  • Stake-Only Button (#148): New dedicated stake button in HoldingsSection
  • Button Styling (#149): Changed action buttons to black buttons

Analytics Launch (#134)

  • Mixpanel Integration: Full analytics setup with provider component
  • Tracks: FAQ accordion events, external link clicks (Forum, Bugs, FAQ, Blog, social)
  • Events for: delegate actions, lock/unlock transactions, voting, proposal creation
  • 107-line analytics utility module + 89-line Mixpanel wrapper

October 11

Draft Proposals & Notifications

  • Draft Validation (#144): Allow saving drafts without link; strict validation only on submission
  • Draft Hotfix (#147): Fixed submission logic
  • Subscribe Dialog (#145): Handle notification prompt edge case
  • Voting Duration Format (#146): Human-friendly units for durations < 1 day (e.g., "12 hours" instead of "0.5 days")
  • Info/Disclaimer Fixes (#143): Various copy and styling updates

October 10

Launch Prep

  • Full Launch Note (#141): Added launch announcement to InfoRoadmap
  • Staging Label (#140): Environment indicator
  • VPG Removal (#138): Removed VPG display from LockTokensCard
  • APY to VPG Translation (#135): Terminology updates across 7 files

October 9

Core Fixes

  • Cache Invalidation (#133): Invalidate get_account_info after Lock & Stake for proper holdings refresh
  • Form Validation (#131): Major refactor of DraftEditForm and DraftProposalPage (359 lines changed)