Skip to content
A minimal environment for Solidity smart contract development.
JavaScript Solidity
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Minimal Solidity Environment

Language grade: JavaScript Total alerts

A minimal environment for Solidity smart contract development.

This was written in a way to make the simplest development environment possible, with minimum design choices. The focus is more on the basic structure of dApp projects, and less on advanced best practices. Ideally, anyone will be able to pick this up and learn the fundamentals of writing and testing Ethereum smart contracts in Solidity with Node.js and Mocha!



  • Script for compiling Solidity smart contract code (Calculator.sol)


  • Test scripts with Mocha to check for any potential issues


  • Folder for contract files
  • Calculator.sol: Basic calculator contract.

Bonus file: .gitattributes

  • Allows GitHub to recognize your .sol contract syntax! Credits to kinrezC for this tip.


  • Try to browse over the files written; what is going on in them? How do they relate to one another?
  • Install the required dependencies listed in package.json by running: npm install
  • Run the compile.js script through: npm run compile or node compile.js
  • Run the test.js script through: npm test or mocha -- test.js


If you have any suggestions or ideas, email me at, or make a pull request! I am more than happy to chat :)
- Luiserebii

You can’t perform that action at this time.