Skip to content

"Hello world" Solidity project created for the Try IT! talk on 18 March 2021.

License

Notifications You must be signed in to change notification settings

VictorNS69/Try-chain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Try-Chain!

"Hello world" Solidity project created for the talk at Try IT! on 18 March 2021.

This project contains a simple Smart Contract written in Solidity, as well as unit tests and a coverage plugin, developed with the Truffle framework.

Authors

Requirements

  • Node v14.15.5

How to install dependencies

Just run the following command.

npm install

How to set up your development blockchain

You can do it easily with Ganache. You can set up your Ganache with Docker.

docker run --name ganache-cli -d -p 8545:8545 trufflesuite/ganache-cli:latest

Implemented scripts

  • npm run-script test: runs the unit tests
  • npm run-script coverage: runs the unit tests and performs code coverage
  • npm run-script compile: compiles the Smart Contract
  • npm run-script deploy-develop: deploys the Smart Contract on the development network
  • npm run-script deploy-quorum: deploys the Smart Contract on the quorum network