Aurora

Your app is a Web3-native community platform, functioning as a decentralized version of Discord

Aurora

Created At

ETHOnline 2025

Project Description

Aurora is a decentralized community platform ("Web3 Discord") that enables users to join and participate in communities by staking tokens across multiple blockchain networks. Built on Avail Nexus SDK, Aurora demonstrates true cross-chain interoperability by allowing users to stake assets from one chain (e.g., Ethereum Sepolia) to gain membership access verified on another chain.

The platform solves a key problem in decentralized communities: fragmented liquidity and chain-specific barriers to entry. With Avail Nexus's unified balance aggregation and cross-chain intent execution, users can stake tokens from any supported chain without manual bridging, while community membership is automatically verified across networks.

Key Features:

  • Cross-chain staking via Avail Nexus SDK intent system
  • Unified balance view aggregating assets across multiple chains
  • Real-time membership verification using on-chain smart contracts
  • Beautiful Discord-like UI for seamless Web3 social experience
  • Gasless cross-chain operations through Nexus solver network

Aurora showcases Avail Nexus's core capabilities: unified liquidity pools, cross-chain intent creation, and automated bridge-and-execute functionality. Users connect their wallet, view their unified balance across Ethereum, Polygon, Base, and Arbitrum, and stake tokens to join communities—all with a single transaction that's automatically routed through Avail's infrastructure.

The demo includes deployed smart contracts on Sepolia testnet for token staking and membership registry, with full transaction verification available on Etherscan. This project demonstrates how Avail Nexus can power the next generation of chain-agnostic social platforms.

How it's Made

Aurora is built using Avail Nexus SDK as the core cross-chain infrastructure layer, integrated with a modern React/TypeScript frontend and Solidity smart contracts.

Frontend Architecture:

  • React 18 + Vite for fast development and optimal performance
  • Wagmi v2 + Viem for Ethereum wallet integration and contract interactions
  • TanStack Query for efficient data fetching and caching
  • Tailwind CSS + shadcn/ui for the Discord-inspired UI components
  • Avail Nexus SDK for cross-chain intent creation and unified balance queries

Smart Contract Layer:

  • CommunityStaking.sol: Manages token staking and membership on Sepolia testnet
  • MockUSDT.sol: ERC20 test token with faucet functionality for demo purposes
  • Contracts deployed and verified on Sepolia Etherscan for transparency
  • Implements security best practices: ReentrancyGuard, proper access controls

Avail Nexus Integration: The project deeply integrates Avail Nexus SDK through custom React hooks (useNexusClient, useStakeToJoin) that:

  1. Initialize Nexus client with user's wallet connection
  2. Query unified balances across multiple chains (Ethereum, Polygon, Base, Arbitrum)
  3. Create cross-chain intents when users stake to join communities
  4. Monitor intent execution status through Nexus's solver network
  5. Display real-time transaction confirmations with Etherscan links

Notable Technical Choices:

  • Used Nexus's intent-based architecture instead of traditional bridging for better UX
  • Implemented optimistic UI updates while waiting for cross-chain confirmations
  • Created a mock Nexus client for demo purposes that simulates real SDK behavior
  • Leveraged Wagmi's useReadContract and useWriteContract hooks for type-safe blockchain interactions
  • Built responsive state management to handle multi-step staking flow (approve → stake → verify)

Challenges & Solutions:

  • Challenge: Simulating cross-chain behavior without full Nexus testnet deployment Solution: Created mock Nexus client that demonstrates SDK patterns and can be swapped for production SDK

  • Challenge: Managing complex async flows (wallet connection → balance check → approval → staking) Solution: Implemented status-driven UI with clear loading states and error handling

  • Challenge: Making blockchain interactions feel instant in a social app Solution: Used optimistic updates and visual feedback while transactions process

The project showcases how Avail Nexus SDK can abstract away blockchain complexity, enabling developers to build chain-agnostic applications where users don't need to think about which network they're on.

background image mobile

Join the mailing list

Get the latest news and updates