Skip to content
This repository has been archived by the owner on May 12, 2018. It is now read-only.

gladiusio/gladius-control-daemon

Repository files navigation

Gladius Control Daemon

Interacts with the Ethereum Blockchain and the node daemon

Installation

  • Clone repo git clone git@github.com:gladiusio/gladius-control-daemon.git
  • Clone contracts git clone git@github.com:gladiusio/gladius-contracts.git
    • Change directory, cd gladius-contracts
    • Compile contracts, truffle compile
  • Change directory to control-daemon
    • cd ../control-daemon
  • Link contract ABI's
    • ln -s ../gladius-contracts/build build
  • Install dependencies
    • npm install
  • Run Server
    • node index.js
  • Run local blockchain
    • In gladius-contracts run truffle deploy --network truffle; truffle develop
  • Hit /api/settings/start with data, docs here
    • You can generate a PGP key here