Skip to content
TechPay
  • Website
  • GitHub
  • Discord
  • Twitter
Search
TechPay
  • betterdocs_homepage

Quick Start

  • Short Guide

Staking

  • Quick start
  • Overview
  • Stake on TechPay
  • Run a Validator Node
  • Run a Read-only node
  • Run a Testnet Validator
  • Testnet Faucet
  • Troubleshooting
  • Run a Full node
  • Run a Testnet read node

API

  • Public API endpoints
  • Getting Started
  • Installation
  • GraphQL Schema Basics
  • Schema Structure
  • Implementation Details and Notes
  • Covalent indexing and querying API

Tutorials

  • Set up metamask wallet
  • Deploy a Smart Contract
  • Set up Metamask (testnet)
  • Verify a Deployed Smart Contract
  • Create a Fixed-cap Asset
  • Create a Variable-cap Asset
  • Create a Local Test Network

Technology

  • Overview
  • Sirius pBFT
  • Proof of Stake
  • Transaction Fees
  • FAQ

How to use Ledger Nano with TechPay

  • Manage TechPay Assets with Ledger Nano S
  • How to Navigate techPay TPC
  • How to Check Your Account Balance
  • How to Receive TechPay Assets
  • How to Send TechPay Assets
  • Ledger FAQ
  • Home
  • Docs
  • Tutorials
  • Verify a Deployed Smart Contract

Verify a Deployed Smart Contract

Table of Contents
  • Steps to verify your deployed contracts:

Steps to verify your deployed contracts: #

  1. Click on Verify and publish
  2. Choose Compiler Type (Single file is recommended)
  3. Choose the compiler version (according to your contract)
  4. Choose the open source license
  5. Click continue
    If you select Single file as Compiler type, then you can use a library like “sol-merger” to flatten your contract. It creates a single file that contains all the imports.
    Make sure there is only one line of ‘// SPDX-License-Identifier’. If there are multiple lines of this, remove them except the first one.
  6. Choose Optimization Yes (if you deployed your contract using Hardhat)
  7. Paste the source code
  8. If the contract has a constructor then you need to create the ABI code for the values passed to the constructor. Use https://abi.hashex.org/. Copy the result and paste it to the Argument (Constructor) section.
  9. Tick the box to indicate that you are not a robot.
  10. Verify and Publish

What are your Feelings
Set up Metamask (testnet)Create a Fixed-cap Asset
Table of Contents
  • Steps to verify your deployed contracts:

Copyright © 2023 TechPay