Skip to content

nahos/Hello-World-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello-World- By Sohan Sathyan

First Smart Contract

The contract at the end of:https://coursetro.com/posts/code/102/Solidity-Mappings-&-Structs-Tutorial is made compatible with solidity 0.5 or higher.and added and documented testing for every function.

Tech

This project uses a number of packages to work properly.

  • [node.js]
  • [npm] - awesome web-based text editor
  • [truffle] - Markdown parser done right. Fast and easy to extend.
  • [Ganache] - Lets your run your own private local blockchain.

Installation

  • Install node.js.Please refer to the website for downloading the packages and also to get the installation instructions.When you install node.js, npm will also get installed along with it.Please use the below code to make sure that they are installed.Running the below command in CLI should return the version of nodejs and npm installed.
$ node -v
$ npm  -v
  • Install [Ganache] from the below website.
  • Run Ganache
  • Install truffle by running the below commands
$ npm -g install truffle

- Navigate to the location containing the project and run the below commands
``` sh
$truffle compile
$truffle develop
$truffle migrate --reset
$truffle test

About

First Smart Contract

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published