This is the "umbrella" repository for blockchain supply-chain solution. The solution implements an end-to-end document and device data attestation scenario:
- The Office 365 outlook integration supports archiving, retrieval and validations of attachments.
- The Core services provide an API to interact with the Ethereum smart contract. This contract implements the persistency of a proof (such as a laboratory report of a produce). The core service README.md explains the API in more detail. In addition to the interaction with the smart contract, the core services implement a key store which is used to encrypt the private parts of a proof.
git clone https://github.com/Azure/blockchain-supply-chain-solution.git
cd blockchain-supply-chain-solution
git submodule init
git submodule update --init --remote
git submodule foreach git checkout master
- Build and deploy the smart contract to the block chain - for local development you either use
testrpc
or a localgeth
instance. - Configure and run the core service - update the configuration as described in the README and run the service using
npm start
- Configure and run the office integration service - Follow the instructions in on
configuration
andrunning in localhost
To deploy the solution to Azure, follw the 'Cloning the repo' steps above, and then follow these instructions.