GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - blockchainuci/hackuciTutorial: A simple ethereum blockchain application using solidity, smart contracts, and the truffle framework for introductory blockchain development.

BranchesTags
Open more actions menu

Latest commit

 

History

7 Commits
7 Commits

Folders and files

NameName
Last commit message
Last commit date
contracts
contracts
 
 
interaction
interaction
 
 
migrations
migrations
 
 
test
test
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
truffle-config.js
truffle-config.js
 
 
truffle.js
truffle.js
 
 

Repository files navigation

hackuciTutorial - ethereum dapp

A simple ethereum blockchain application using of solidity, smart contracts, and the truffle framework for introductory blockchain development.

INSTALLATION:

  1. Node environment:

     brew install node
    
  2. Solc Compiler: Ethereum smart contracts are compiled with this.

     npm install -g solc
    
  3. Go Ethereum (geth): a multipurpose command line tool that runs a full Ethereum node implemented in Go.

    1. Brew Install

      brew tap ethereum/ethereum brew install ethereum

    2. Go Ethereum website

  4. Truffle framework: Truffle is development environment and test framework for ethereum. You can install truffle using npm.

     npm install -g truffle
    
  5. Ganache: creates a virtual Ethereum blockchain, and it generates some fake accounts that we will use during development

    1. ganache-cli

      npm install -g ganache-cli

    2. Ganache client

      https://truffleframework.com/ganache

  6. Install dependencies

     npm install
    

HowTo Build the Project from Scratch:

  1. Create a new directory for your project

  2. Install the above packages

  3. Run ganache

     ganache-cli
    

    or start your Ganache application

  4. Generate a new truffle project:

     truffle init
     truffle compile
     truffle migrate
    
  5. Create the Counter solidity smart contract

     create a Counter.sol file
     modify 1_initial_migration.js file to include Counter contract deploy.
    
  6. Create tests for your Counter contract

     make a ./test/test.js file
     add Counter contract functionality tests to test.js 
    
  7. Run tests

     truffle test
    

Relevant links:

A great guide to all things blockchain development!

A tutorial explaining the simple counter contract we've developed here today!

A tutorial building on the counter contract into a Web3 application!

About

A simple ethereum blockchain application using solidity, smart contracts, and the truffle framework for introductory blockchain development.

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

4 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.