Skip to content

Winnode/winscan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

8 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

WinScan - Multi-Chain Blockchain Explorer

WinScan Logo

WinScan is a modern, professional multi-chain blockchain explorer built with Next.js 14 and TypeScript. Monitor multiple Cosmos SDK-based blockchains in real-time with an elegant, minimalist interface.

Website Twitter Telegram GitHub

โœจ Features

  • ๐ŸŒ Multi-Chain Support - Monitor multiple blockchain networks from one dashboard
  • ๐Ÿ“Š Real-Time Monitoring - Live consensus tracking and validator status
  • ๐Ÿ” Complete Explorer - Blocks, transactions, validators, proposals, and more
  • ๐ŸŒ Multi-Language - Support for 7 languages (EN, ID, ZH, JA, HI, RU, VI)
  • ๐ŸŽจ Modern UI - Clean, elegant design with dark theme
  • ๐Ÿ“ฑ Responsive - Works perfectly on desktop, tablet, and mobile
  • โšก Fast & Optimized - Built with performance in mind

๐Ÿš€ Quick Start

Prerequisites

  • Node.js 18+
  • npm or yarn

Installation

  1. Fork this repository (Click "Fork" button at top right)

  2. Clone your forked repository

git clone https://github.com/winsnip-official/winscan.git
cd winscan
  1. Install dependencies
npm install
  1. Setup environment variables
cp .env.example .env

Edit .env if you want to use different API endpoint (optional):

NEXT_PUBLIC_API_URL=https://ssl.winsnip.xyz
  1. Configure your chains
  • Add your chain configurations in Chains/ directory
  • See Chains/README.md for chain configuration format
  1. Run development server
npm run dev

Visit http://localhost:3000

๐Ÿ“ Project Structure

winscan/
โ”œโ”€โ”€ app/                    # Next.js app directory
โ”‚   โ”œโ”€โ”€ [chain]/           # Dynamic chain routes
โ”‚   โ”œโ”€โ”€ api/               # API routes (proxy)
โ”‚   โ””โ”€โ”€ page.tsx           # Home page
โ”œโ”€โ”€ components/            # React components
โ”œโ”€โ”€ Chains/               # Chain configurations
โ”œโ”€โ”€ lib/                  # Utility functions
โ”œโ”€โ”€ types/                # TypeScript types
โ””โ”€โ”€ public/               # Static assets

๐Ÿ”Œ API Backend

This explorer uses WinSnip API as the backend service:

Self-Hosted Backend (Optional)

For advanced users who want to run their own API backend:

  • Backend repository: Coming soon
  • Requires VPS and Node.js
  • Full control over data and endpoints

Default configuration uses our public API, so you don't need to setup backend.

๐Ÿ”ง Configuration

Adding New Chains

Create a JSON file in Chains/ directory:

{
  "chain_name": "your-chain",
  "chain_id": "your-chain-1",
  "pretty_name": "Your Chain",
  "status": "live",
  "network_type": "mainnet",
  "logo": "https://your-logo-url.png",
  "addr_prefix": "your",
  "rpc": [
    {
      "address": "https://rpc.your-chain.com",
      "provider": "Your Provider"
    }
  ],
  "api": [
    {
      "address": "https://api.your-chain.com",
      "provider": "Your Provider"
    }
  ],
  "assets": [
    {
      "name": "Your Token",
      "symbol": "YOURTOKEN",
      "denom": "uyourtoken",
      "decimals": 6
    }
  ]
}

Environment Variables

Frontend (.env)

NEXT_PUBLIC_API_URL=https://ssl.winsnip.xyz

By default, WinScan uses our public API. You can change this to your own API endpoint if you're running a self-hosted backend.

๐Ÿš€ Deployment

Deploy Frontend (Vercel)

  1. Connect to Vercel
npm run build
vercel --prod
  1. Set Environment Variable In Vercel dashboard, add:
NEXT_PUBLIC_API_URL=https://ssl.winsnip.xyz
  1. Deploy Every push to main branch will auto-deploy.

Custom Domain (Optional)

Add your domain in Vercel dashboard โ†’ Domains

๐Ÿ“ Available Scripts

npm run dev          # Start development server
npm run build        # Build for production
npm run start        # Start production server
npm run lint         # Run ESLint

๐Ÿ” Security & Permissions

Repository Protection

This repository is configured with branch protection rules:

  • โœ… Public Repository - Anyone can view and fork
  • โœ… Fork to Contribute - Contributors must fork first
  • โŒ No Direct Commits - Main branch is protected
  • โœ… Pull Request Required - All changes via PR
  • โœ… Review Required - PRs need approval before merge

How to Contribute

  1. Fork this repository
  2. Clone your fork
  3. Create a new branch (git checkout -b feature/amazing-feature)
  4. Commit your changes (git commit -m 'Add amazing feature')
  5. Push to your fork (git push origin feature/amazing-feature)
  6. Open a Pull Request

๐Ÿ› ๏ธ Tech Stack

Frontend

  • Framework: Next.js 14 (App Router)
  • Language: TypeScript
  • Styling: Tailwind CSS
  • Icons: Lucide React
  • Charts: Recharts
  • API: REST API (WinSnip public endpoint)

๐Ÿ“Š Features Breakdown

๐Ÿ  Dashboard

  • Overview statistics
  • Network status
  • Chain selector

๐Ÿ” Explorer

  • Blocks - Real-time block explorer
  • Transactions - Transaction search and details
  • Accounts - Account balances and history
  • Validators - Validator list and details
  • Proposals - Governance proposals
  • Assets - Token information

โš™๏ธ Advanced Features

  • Consensus - Real-time consensus monitoring
  • State Sync - State sync configuration generator
  • Network - Network information and endpoints
  • Uptime - Validator uptime tracking

๐ŸŒ Multi-Language Support

Supported languages:

  • ๐Ÿ‡ฌ๐Ÿ‡ง English
  • ๐Ÿ‡ฎ๐Ÿ‡ฉ Indonesian
  • ๐Ÿ‡จ๐Ÿ‡ณ Chinese
  • ๐Ÿ‡ฏ๐Ÿ‡ต Japanese
  • ๐Ÿ‡ฎ๐Ÿ‡ณ Hindi
  • ๐Ÿ‡ท๐Ÿ‡บ Russian
  • ๐Ÿ‡ป๐Ÿ‡ณ Vietnamese

๐Ÿ“œ License

This project is licensed under the MIT License - see the LICENSE file for details.

What this means:

  • โœ… Free to use, modify, and distribute
  • โœ… Can use commercially
  • โœ… Can fork and create your own version
  • โš ๏ธ Must include original license
  • โš ๏ธ No warranty provided

๐Ÿค Contributing

Contributions are welcome! Please follow these guidelines:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Test thoroughly
  5. Submit a pull request

Contribution Rules:

  • Follow existing code style
  • Write clear commit messages
  • Update documentation if needed
  • Test your changes before submitting

๐Ÿ“ž Support & Community

Need help or want to connect? Join our community:

๐Ÿ™ Acknowledgments

๐Ÿ“ˆ Roadmap

  • WebSocket support for real-time updates
  • Advanced analytics and charts
  • IBC tracking
  • NFT explorer
  • Token swap integration
  • Wallet integration

Made with โค๏ธ by WinSnip for the Cosmos ecosystem

Website Twitter Telegram

โญ Star this repo if you find it useful!

About

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages