Skip to content

blockdeep/efimero-demo-ui

Repository files navigation

Efímero

A Next.js blockchain application that enables users to connect their Polkadot wallets, view asset balances, and interact with proof generation systems.

Features

  • 🔗 Wallet Connection: Connect with Talisman and other Polkadot-compatible wallets
  • 💰 Asset Management: View asset balances and metadata
  • 🔐 Proof System: Generate and verify cryptographic proofs
  • 🔄 Cross-chain Transfer: XCM transfer from Efimero to Asset Hub
  • 📱 Responsive Design: Mobile-first responsive interface
  • 🎨 Modern UI: Built with Tailwind CSS and Radix UI components

Tech Stack

  • Framework: Next.js 14 (App Router)
  • Language: TypeScript
  • Styling: Tailwind CSS
  • UI Components: Radix UI
  • State Management: Jotai
  • Blockchain: Polkadot.js API
  • Wallet Integration: Talisman Connect

Getting Started

Prerequisites

  • Node.js 18+
  • npm, yarn, or pnpm

Installation

  1. Clone the repository
  2. Install dependencies:
pnpm install
  1. Set up environment variables, make sure you point correclty to the Efimero chain and Merklize server:
## .env.local

RELAY_WS_PROVIDER=ws://127.0.0.1:9900
ASSET_HUB_WS_PROVIDER=ws://127.0.0.1:9910
NEXT_PUBLIC_WS_PROVIDER=ws://127.0.0.1:9920
NEXT_PUBLIC_API_URL=http://127.0.0.1:5000
NEXT_PUBLIC_ASSET_ID=1
pnpm run setup:env
  1. Start the development server:
pnpm run dev

Open http://localhost:3000 to view the application.

Available Scripts

  • pnpm run dev - Start development server
  • pnpm run build - Build for production
  • pnpm run start - Start production server
  • pnpm run lint - Run ESLint
  • pnpm run format - Check code formatting
  • pnpm run format:fix - Fix code formatting
  • pnpm run setup:env - Set up environment configuration

Project Structure

├── app/                # Next.js app router pages
├── components/         # React components
│   ├── home/           # Landing page components
│   ├── airdrop/        # Airdrop page components
│   ├── cross-chain/    # Cross-chain page components
│   ├── faq/            # FAQs page components
│   ├── notFound/       # NotFound page components
│   └── ui/             # Reusable UI components
├── config/             # Configuration files
├── hooks/              # Custom React hooks
├── lib/                # Utility functions
├── providers/          # React context providers
└── scripts/            # Build and setup scripts

About

Frontend to show Efimero demo using Airdrop use-case.

Resources

Stars

Watchers

Forks

Releases

No releases published

Contributors 3

  •  
  •  
  •