Skip to content

murtrax/Simple-Storage-Solidity-Smart-Contract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple-Storage-Solidity-Smart-Contract

A smart contract that employs simple storage methods, written in solidity and deployed in truffle The smart contract has 2 functions namely get and set which as the names indicate, return the value and set the value of a variable.

tests

The tests directory contains tests for the SimpleStorage Smart contract. Run these tests before deploying them! How to run: "truffle test" command!

Dependencies required:

  • npm
  • truffle

How to run:

  • open a terminal window and browse to the folder containing this project
  • Run "truffle test". This should compile contracts and test for errors
  • Run "truffle develop" to open the truffle console
  • Run "migrate --reset" to compile and deploy the smart contract

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published