LogoLogo
  • Gather Fundamentals
    • INTRODUCTION TO GATHER
    • GTH
    • TOKEN STANDARDS
      • CREATE YOUR FIRST GRC-20 TOKEN
      • CREATE YOUR FIRST GRC-721 TOKEN
    • NETWORKS
    • CONSENSUS
      • PROOF-OF-WORK (POW) & GTHASH
    • BLOCK EXPLORER
    • BRIDGE
    • MULTI-SEND
  • GATHER DEVELOPEMENT STACK
    • WALLET SETUPS
      • GATHER WEB WALLET
      • METAMASK MAINNET CONFIGURATION
      • METAMASK TESTNET CONFIGURATION
    • SMART CONTRACTS & DAPPs
      • DEPLOYING YOUR FIRST SMART CONTRACT
      • HARDHAT CONFIGURATION AND DEPLOYMENT
      • TRUFFLE CONFIGURATION AND DEPLOYMENT
      • BUILDING AN ESCROW SMART CONTRACT
      • BUILDING AN E-COMMERCE SHOPPING SMART CONTRACT
      • DEPLOYING NFT MARKETPLACE DAPP
      • DEPLOYING DE-FI BANK DAPP
      • DEPLOYING DECENTRALIZED TWITTER
    • TESTNET FAUCET
    • COVALENT
    • THIRDWEB
    • VERIFY SMART CONTRACTS
      • VERIFY CONTRACTS ON SOURCIFY VIA REMIX IDE
      • VERIFY CONTRACTS USING HARDHAT
Powered by GitBook
On this page
  • SMART CONTRACTS
  • DAPPs
  • TESTING TOOLS AND LIBRARIES:
  • DEPLOYING SMART CONTRACT
  • Requirements:
  • Steps to Deploy Smart Contracts
  • Tools
  1. GATHER DEVELOPEMENT STACK

SMART CONTRACTS & DAPPs

This section will have a basic overview of what dapps & contracts are and how they can be developed and deployed on Gather Blockchain.

PreviousMETAMASK TESTNET CONFIGURATIONNextDEPLOYING YOUR FIRST SMART CONTRACT

Last updated 3 years ago

SMART CONTRACTS

A smart contract is a self-executing contract with the terms of the agreement between buyer and seller being directly written into lines of code. The code and the agreements contained therein exist across a distributed, decentralized blockchain network. The code controls the execution, and transactions are trackable and irreversible.

Gather allows developers to create and deploy smart contracts on Gather Blockchain in the same way as Ethereum.

The two most active and maintained languages are:

DAPPs

A decentralized application (dApp) is a sort of distributed software that runs on a peer-to-peer (P2P) blockchain network rather than on a single computer. DApps resemble conventional software apps that run on a website or on a mobile device, but they are peer-to-peer. A decentralized application's essential functionality is represented via a smart contract. Smart contracts are building blocks that process data from external sensors or events and assist the blockchain in managing the status of all network actors.

Few popular frameworks that are generally used by blockchain engineers:

TESTING TOOLS AND LIBRARIES:

DEPLOYING SMART CONTRACT

Requirements:

  • Contract's bytecode

  • GTH for gas

  • Deployment script or plugin

  • access to a Gather Node, either by running your own private node or connecting to a public node.

Steps to Deploy Smart Contracts

Your contract, like other accounts, will have a Gather address once it is deployed.

Tools

- A local blockchain that can be used for testing and development. Ganache creates unlocked, financed accounts and instantaneously mines fresh transactions. It also lets you do things like revert transactions and go ahead in time, which are useful when testing.

- a python framework for developing smart contracts. Python is an excellent choice for testing because of its simple, readable syntax.

- Testing smart contracts is lightning quick. Setup just a single line for a fantastic testing experience.

Depending on the tools you use, the particular processes will vary. Consider the or the . These are two of the most common smart contract deployment tools, both of which need you to write a script to manage the deployment process.

: Remix IDE allows developing, deploying, and administering smart contracts for Ethereum & Gather like blockchains

: Simulate, debug and monitor anything on EVM-compatible chains, with real-time data.

: A development environment to compile, deploy, test, and debug your Gather software

: A development environment, testing framework, build pipeline, and other tools.

Solidity
Vyper
Hardhat
Truffle
Embark
Brownie
OpenZeppelin
Ganache
Brownie
OpenZeppelin Test Environment
Hardhat documentation on contract deployment
Truffle documentation on networks and app deployment
Remix
tenderly.co
hardhat.org
trufflesuite.com