Skip to content

Implementation for decentralized service registry system

Notifications You must be signed in to change notification settings

kanisiuskenneth/dicey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DICEY: A Decentralized Service Registry

Core Subsystem (backend/)

Core subsystem contain the application logic of the system, it's a standalone program that can be executed in Ethereum platform.

Development Tools

How to compile

On the backend/ folder run:

truffle compile

How to test

Functional Testing

On the backend/ folder run: truffle test

Performance Testing

  1. Prepare Development platform with Geth, (tutorial)[https://medium.com/coinmonks/how-to-create-your-own-private-ethereum-blockchain-137ab15989c6]
  2. Add running geth address by typing export ADV_HOST="https://<IP_ADDRESS>:<PORT>/" on your terminal
  3. Add your existing Ethereum account on running geth with private key, command: export ETH_PRIVATE_KEY="<private_key>"
  4. Edit the runner script in backend/performance_test/runner.sh to fit your requirement
  5. Run the test script by running ./performnce_test/runner.sh from backend/ folder

How to deploy

  • On local ganache: truffle migrate --reset --compile-all
  • On geth: truffle migrate --network advanced --reset --compile-all

Web Subsystem (web/)

Web subsystem is the default interface to access the Core, built the web after the Core subsystem running.

Development Tools

Contained in the pacakge.json:

Install dependencies

yarn

How to start development server

yarn start

How to build for production

yarn build

After the build finished, you can run the web on any static web server.

About

Implementation for decentralized service registry system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published