Skip to content

itsacoyote/zksync-nuxt-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZKsync Nuxt Starter

A production-ready starter kit for building Web3 applications on ZKsync using Nuxt 4, Vue 3, and modern Web3 tooling. Features wallet connectivity via Reown AppKit, ZKsync SSO integration, and a complete local development environment.

Prerequisites

  • Node.js 18+ and npm

Quick Start

1. Install Dependencies

npm install

2. Start Development Server

npm run dev

The app will be available at http://localhost:3000.

3. Connect Your Wallet

The starter includes Reown AppKit (WalletConnect v2) with support for:

  • MetaMask
  • WalletConnect
  • Coinbase Wallet
  • ZKsync SSO (on Mainnet and Sepolia)

Project Structure

├── app/
│   ├── components/          # Vue components
│   ├── composables/         # Auto-imported composables
│   ├── pages/               # File-based routing
│   └── stores/              # Pinia stores
├── custom/
│   └── app-config.ts        # Network and wallet configuration
├── networks/
│   ├── zksync.ts            # ZKsync network definitions
│   ├── local.ts             # Local network definitions
│   └── l1.ts                # L1 network definitions
└── shared/
    └── types/               # TypeScript types

Key Features

Web3 & Blockchain

  • Wagmi/Viem: Modern Web3 React hooks for Vue (docs)
  • Reown AppKit: Wallet connectivity with WalletConnect v2
  • ZKsync SSO: Seamless authentication for ZKsync networks
  • Multi-Network Support: Mainnet, Testnet, and Local networks

Frontend Stack

  • Nuxt 4: Latest Nuxt with Vue 3.5
  • Tailwind CSS v4: Utility-first CSS (docs)
  • DaisyUI: Beautiful component library (docs)
  • Reka UI: Headless UI components (docs)
  • Fluent Icons: Microsoft's Fluent UI System Icons (browse)

Developer Experience

  • TypeScript: Full type safety
  • Auto-imports: Composables, components, and utilities
  • Pinia: Intuitive state management
  • Vue Query: Powerful data fetching with TanStack Query
  • i18n: Multi-language support (docs)
  • Color Mode: Dark/light theme support (docs)
  • ESLint: Code quality and consistency

Available Scripts

# Development
npm run dev              # Start dev server
npm run build            # Build for production
npm run preview          # Preview production build

# Code Quality
npm run lint             # Lint code
npm run lint:fix         # Fix linting issues

Configuration

Network Configuration

Edit app-configuration/app-config.ts to customize:

  • Available network groups (Mainnet, Testnet, Local)
  • Default network on app load
  • SSO-enabled networks
  • Wallet metadata and AppKit settings

Environment Variables

Create a .env file for environment-specific configuration:

# Add your environment variables here

Tech Stack

Core

Web3

UI & Styling

State & Data

Nuxt Modules

  • @nuxt/eslint
  • @nuxt/image
  • @nuxt/fonts
  • @nuxtjs/seo
  • @nuxtjs/i18n
  • @nuxtjs/color-mode
  • nuxt-svgo

Resources

License

MIT OR Apache-2.0

About

Simple Nuxt/Vue web3 starter template

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors