A modern web interface for the ZKSVM rollup client built with Next.js 15, TypeScript, and Tailwind CSS.
- Health Monitoring: Check rollup server connectivity and status
- Transaction Creation: Create and submit new transactions to the rollup
- Transaction Search: Search for specific transactions by signature hash
- Transaction Listing: Browse recent transactions with pagination
- Real-time Updates: Automatic refresh and real-time status updates
- Responsive Design: Modern, clean interface inspired by shadcn/ui
- Node.js 18+
- npm or yarn
- Running ZKSVM rollup core server (default:
http://127.0.0.1:8080)
- Install dependencies:
npm install- Set up environment variables:
Create a
.env.localfile in the root directory:
NEXT_PUBLIC_ROLLUP_URL=http://127.0.0.1:8080- Start the development server:
npm run dev- Open http://localhost:3000 in your browser.
- Click "Check Health" to verify connectivity to the rollup server
- View server response and timestamp of last check
- Fill in sender name, recipient address, and amount
- Click "Submit Transaction" to send to the rollup
- View transaction submission results
- Enter a transaction signature hash in the search field
- Click "Search" or press Enter to find the specific transaction
- View detailed transaction information
- View recent transactions in the main list
- Use pagination controls to navigate through transaction history
- Click "Refresh" to update the transaction list
The web interface communicates with the rollup core server through HTTP endpoints:
GET /- Health checkPOST /submit_transaction- Submit new transactionsPOST /get_transaction- Retrieve specific transactions or paginated lists
npm run build
npm start| Variable | Description | Default |
|---|---|---|
NEXT_PUBLIC_ROLLUP_URL |
Rollup server URL | http://127.0.0.1:8080 |
Ensure the rollup core server is running and accessible. The web client expects these endpoints:
- Health check:
GET / - Submit transaction:
POST /submit_transaction - Get transaction(s):
POST /get_transaction
- Follow the existing code style and patterns
- Add proper TypeScript types for new features
- Test functionality with the rollup core server
- Update documentation for new features
This project is part of the Zelana ZKSVM rollup system.