Skip to content

Comments

docs: add Hardhat verification, deployment artifacts, and proxy contract guides#113

Merged
snario merged 2 commits intomainfrom
docs/hardhat-verification-guide
Feb 19, 2026
Merged

docs: add Hardhat verification, deployment artifacts, and proxy contract guides#113
snario merged 2 commits intomainfrom
docs/hardhat-verification-guide

Conversation

@snario
Copy link
Contributor

@snario snario commented Feb 19, 2026

Problem

A partner (Keno from Everdawn) deployed contracts with Hardhat on mainnet and couldn't figure out how to verify them. The existing docs only cover Foundry workflows. Key gaps:

  1. No Hardhat section — only Foundry was documented
  2. No guidance on verifying from deployment artifacts — Hardhat deployment JSONs contain all the source code in their metadata, but nowhere explains how to extract and submit it
  3. No proxy contract guidance — OpenZeppelin proxy patterns deploy 3 contracts (implementation, proxy, admin) that may use different compiler versions, and each must be verified separately

Changes

Adds three new sections to /quickstart/verify-contracts:

Verify with Hardhat

  • hardhat-verify plugin configuration with Sourcify mode pointing at contracts.tempo.xyz
  • Usage examples for basic and constructor-argument verification

Verify from Deployment Artifacts

  • Explains how Hardhat deployment JSON metadata contains embedded source code
  • Provides a ready-to-use shell script that extracts Standard JSON Input from artifacts and submits to the verification API
  • Covers the common scenario of verifying contracts you didn't deploy yourself

Verifying Proxy Contracts

  • Explains that proxy, admin, and implementation must be verified separately
  • Notes that they may use different compiler versions
  • Shows examples for both artifact-based and Foundry-based verification

Also removes the deprecated andantino testnet from the supported chains table.

@vercel
Copy link

vercel bot commented Feb 19, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tempo-docs Ready Ready Preview, Comment Feb 19, 2026 3:40pm

Request Review

…act guidance

Adds concise coverage for the three gaps in verification docs:

- Verify with Hardhat: hardhat-verify plugin Sourcify config + usage
- Verify from deployment artifacts: how to extract metadata from
  hardhat-deploy JSON files and map fields to the API request
- Proxy contracts: each contract verified separately, may use
  different compiler versions
- Removes deprecated andantino from supported chains table

Amp-Thread-ID: https://ampcode.com/threads/T-019c7634-cb49-73e3-971f-fce5d6d67030
Co-authored-by: Amp <amp@ampcode.com>
Copy link
Member

@bpierre bpierre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some conflicts to address, lgtm otherwise

@snario snario requested a review from joshitzko February 19, 2026 15:37
@snario snario merged commit b0e5b21 into main Feb 19, 2026
@snario snario deleted the docs/hardhat-verification-guide branch February 19, 2026 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants