Skip to content

sourcifyeth/verify.sourcify.dev

Repository files navigation

Sourcify Verification UI

A modern, user-friendly web interface for verifying smart contracts with Sourcify. This application provides an intuitive way to verify Solidity and Vyper smart contracts by uploading source code and comparing it against deployed bytecode on various blockchain networks.

Features

Contract Verification

  • Multiple Verification Methods: Support for single-file, multiple-files, standard JSON, and metadata.json verification
  • Language Support: Solidity and Vyper with multiple compiler versions
  • Bytecode Comparison: Visual diff tool with Web Workers for performance

Smart Contract Discovery

  • Cross-chain Lookup: Automatically check if contracts are verified on other networks
  • Verification Status: Real-time display of verification status with match badges
  • Repository Links: Direct links to verified contracts in the Sourcify repository

Job Management

  • Job Tracking: Monitor verification job progress with real-time status updates
  • Recent Verifications: View and manage your recent verification attempts
  • Detailed Results: Comprehensive error reporting and bytecode analysis

Configuration

  • Server Settings: Configure custom Sourcify server URLs

Getting Started

Prerequisites

  • Node.js (version 20 or higher recommended)
  • npm or yarn package manager

Installation

  1. Clone the repository:
git clone https://github.com/sourcifyeth/verify.sourcify.dev.git
cd verify.sourcify.dev
  1. Install dependencies:
npm install
  1. Set up environment variables (optional):
# Create .env file with custom server URLs
VITE_SOURCIFY_SERVER_URL=https://sourcify.dev/server
VITE_SOURCIFY_REPO_URL=https://repo.sourcify.dev

Development

Start the development server:

npm run dev

The application will be available at http://localhost:5173 (or another port if 5173 is busy).

Building

Build the application for production:

npm run build

This creates optimized production files in the build/ directory.

Production Deployment

Start the production server:

npm start

Type Checking

Run TypeScript type checking:

npm run typecheck

About

Contract verification UI for Sourcify

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published