This project aims to showcase the capabilities of solidity as a solution to issue and manage medical orders.
Truffle is a development environment, testing framework and asset pipeline for Ethereum, aiming to make life as an Ethereum developer easier.
Ethereum-Bridge, which allows any non-public blockchain instance to interact with the Oraclize service.
Given that the contracts rely on Oraclize, it is necessary to have a connector node running and deployed on a blockchain to test contracts, or interact with them with the angular interface.
Angular cli is a command line interface for Angular.
You're also going to need a working copy of angular-cli (aka. ng) installed in your environment (
npm install -g @angular/cli).
How to run
If you are not a developer and only want to see this demo in action, you may want to use the docker images.
docker-compose up, you can launch a functional environment containing the deployed core-contract, ethereum bridge, ganache client and the client-demo.
- Fetch the codebase :
git clone https://github.com/scub-france/smart-order
- Compile & deploy contracts (cf. core-contract's README).
- Run the oraclize connector (cf. Ethereum Bridge)
- Run the client-demo (cf. client-demo's README).
This module contains all the files related to the smart contracts.
Contributions are always welcome & encouraged!