Skip to content

VicMaster provides a master professional level UI that brings governance power back to the users. VicMaster allows users to vote for masternodes and apply to become a candidate

License

Notifications You must be signed in to change notification settings

Commencement-Technology/tomomaster

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TomoChain Governance DApp

GitHub version Build Status devDependencies Status JavaScript Style Guide: Good Parts Coverage Status Join the chat at https://gitter.im/tomochain/tomomaster

This is Governance Dapp for TomoChain. Full-Node can apply to become a candidate for masternode. Coin Holder can vote for candidates to become masternodes. See the detail from technical Whitepaper: https://docs.tomochain.com/whitepaper/](https://docs.tomochain.com/whitepaper/)

Requirements

Config

cp config/default.json config/local.json
  • Update local.json file to support your environment
    • Update mnemonic
    • Update mongodb configuration:
      • For docker: "db": { "uri": "mongodb://mongodb:27017/governance" },
      • For localhost: "db": { "uri": "mongodb://localhost:27017/governance" },

Install

npm install
truffle deploy --reset --network tomo # only use this command if you want to connect to a private network
cp abis/*json build/contracts/

Note: before deploying to tomochain testnet, make sure you have VIC in the wallet. If not, get free at https://faucet.tomochain.com

Enable https

npm run dev-https

Run

  • Start mongodb
  • Start TomoMaster
npm run dev

The site will run at http://localhost:3000

Test

npm run test

Or run command

truffle test

Test a special file

npm run test path_to_file/file.js

Or run command

truffle test path_to_file/file.js

About

VicMaster provides a master professional level UI that brings governance power back to the users. VicMaster allows users to vote for masternodes and apply to become a candidate

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 52.4%
  • JavaScript 34.5%
  • SCSS 10.3%
  • Solidity 2.0%
  • HTML 0.7%
  • Dockerfile 0.1%