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
  • Deploy a Smart Contract

Deploy a Smart Contract

Table of Contents
  • Requirements
  • Additional resources
  • Tools

TechPay utilizes the Ethereum Virtual Machine (EVM) in the backend. Smart contracts are written in Solidity and they can function on TechPay as they do on Ethereum.

To deploy a smart contract, you send a TechPay transaction containing your bytecode without specifying any recipients.

After the contract is deployed, it will be available to all users of the TechPay network. Smart contracts have a TechPay address like other accounts.

Requirements #

  • Bytecode (compiled code) of your smart contract
  • TPC for gas costs
  • Deployment script/plugin
  • Access to a TechPay node, either by running your own node or API access to a node.

Additional resources #

  • Compiling
  • Deploying a smart contract on Ethereum

Tools #

  • Truffle: Development environment, testing framework and asset pipeline for blockchains using the EVM
  • Remix: IDE that’s used to write, compile, debug & deploy Solidity code ll in your browser.
  • Solidity: Solidity is an object-oriented, high-level language for implementing smart contracts.
  • OpenZeppelin: OpenZeppelin Contracts helps you minimize risk by using battle-tested libraries of smart contracts for Ethereum and other blockchains.

What are your Feelings
Set up metamask walletSet up Metamask (testnet)
Table of Contents
  • Requirements
  • Additional resources
  • Tools

Copyright © 2023 TechPay