Skip to content
TandaPay v0.2.0 Smart Contract Repository. To be used in Minimum Viable Product with Web App.
Branch: master
Clone or download
Pull request Compare This branch is 3 commits ahead of blOX-Consulting:master.
Type Name Latest commit message Commit time
Failed to load latest commit information.
contracts Allow endPeriod() to be called by Secretary or Admin Sep 28, 2019
migrations .env Aug 26, 2019
test modified defect tests to include overpayments Sep 28, 2019
.gitignore test initial Jun 21, 2019 .env Aug 26, 2019
package-lock.json .env Aug 26, 2019
package.json .env Aug 26, 2019
truffle-config.js v0.2.1 Aug 12, 2019

TandaPay Contracts

Version: 0.2.0

Date: August 26, 2019

Author: blOX Consulting LLC (Jack Gilcrest)

Contributors: Tarski Technologies LLC, Anthony Akentiev

Owner: Joshua Davis

Welcome to the TandaPay Demo Build! This distribution is built with the intention of demonstrating the full range of basic capabilities of TandaPay's Smart Contract Insurance Architecture. This readme will provide a brief walkthrough to using the distribution, however we recommend you visit the full documentation here [link later].


  1. Install the current stable build of NodeJS (v10.15.3)
  2. Using node package manager, install 'ganache-cli', 'truffle', and 'dotenv' 2a. 'npm i -g ganache-cli dotenv truffle'
  3. Prepare your Ethereum Mnemonic 3a. Use '' to generate a new mnemonic if need be 3b. Mnemonic =~= 'word1 word2 word3 word4 word5 word6 word7 word8 word9 word10 word 11 word 12'

Installation Instructions

  1. Clone the repository by running 'git clone' in command line
  2. Enter the downloaded directory with 'cd TandaPay Contracts' in the command line
  3. Install Node packages by running 'npm i' in command line
  4. Create Environment Variables configuration file 4a. Run 'nano .env' in the command line 4b. Copy mnemonic, reference as $(MNEMONIC) 4c. Enter 'MNEMONIC=$(MNEMONIC)' in nano text editor 4d. Enter 'CTRL+O' to write changes, 'CTRL+X' to exit nano text editor
  5. Begin running a local ganache instance 5a. Copy mnemonic, reference as $(MNEMONIC) 5b. Open new terminal window 5c. Run 'ganache-cli -m "$(MNEMONIC)" -e 10000'


Simply run 'truffle test' in the command line to run the test file. Reference './test/test.js' to audit the exact testing being performed behind the scenes, however the test script will check for various desired properties.

You can’t perform that action at this time.