Skip to content

zeeshanhanif/learn-solidity

Repository files navigation

Learn Solidity

Learn Solidity Step by Step

Prerequisite

To Run these examples please follow following steps

Installation

  1. Install Geth (https://ethereum.github.io/go-ethereum/downloads/)
  2. Install Truffle npm install -g truffle
  3. Start Test Network - There are three options
    • Use Test network using following comming
      • Geth --testnet OR
      • Geth --rinkeby
    • Create Private network
    • Use ganache-cli
      • npm install -g ganache-cli
      • Run ganache-cli using following command
        • ganache-cli
        • This will create Test network

Compile, Deploy and Test Project

  1. Go to project folder e.g

    • cd 01_HelloWorld
  2. Inside that folder Compile with following command

    • truffle.cmd compile on Windows
    • truffle compile
  3. Deploy Contract with following command

    • truffle.cmd migrate on Windows
    • truffle migrate
  4. Test Contract with following command

    • truffle.cmd test on Windows
    • truffle test
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy