Crypterra is a business-first asset management platform that utilizes the Hyperledger Composer and Fabric frameworks to securely hold assets and records on a decentralized blockchain platform. As an extension of Hyperledger’s enterprise-friendly open-source structure, Crypterra caters to new businesses unfamiliar with blockchain technology by providing them with a convenient and user-friendly data upload system, which supports upload of data from Excel spreadsheets, which is then parsed and added to the Hyperledger network. Additionally, the Crypterra platform creates an account and identity for every company and employee after parsing the information it receives from the excel worksheet. This allows for companies and employees alike to transact amongst 5 currencies (BTC, ETH, CAD, USD, GBP) within the platform and have their balances reflect accordingly.
Operating Systems: Ubuntu Linux 14.04 / 16.04 LTS (both 64-bit), or Mac OS 10.12 Docker (Version 17.03 or higher) npm (v5.x) Node (version 8.9 or higher - note version 9 is not supported) and associated modules to install specific Node version you can use nvm Hyperledger Composer
git clone https://github.com/Deloitte-Case-Competition/Crypterra
Remove all pre-existing docker instances
docker kill $(docker ps -q)
docker rm $(docker ps -aq)
docker rmi $(docker images dev-* -q)
Install Fabric scripts which are available in fabric-tools
cd fabric-tools/
./downloadFabric.shc
./startFabric.sh
./createPeerAdminCard.sh
Generate BNA file from the root directory
cd ..
npm install
A new file called deloitte-net@0.1.15.bna has been created in the root directory
composer network install --card PeerAdmin@hlfv1 --archiveFile deloitte-net@0.1.15.bna
composer network start --networkName deloitte-net --networkVersion 0.1.15 --networkAdmin admin --networkAdminEnrollSecret adminpw --card PeerAdmin@hlfv1 --file networkadmin.card
composer card import --file networkadmin.card
composer network ping --card admin@deloitte-net
node server.js
npm install
cd ../angular-app/deloitte-net
npm start
The Node application will be running at localhost:3000 (for data input).
The Angular application will be running at localhost:4200 (for viewing added transactions, participants, and assets)
Once at the landing page, click ‘Get Started’, and enter company info. For the excel spreadsheets, we’ve provided examples. Use ‘properties.xlsx’ followed by ‘transactions.xlsx’.
At the end of your session, stop fabric:
cd ~/fabric-tools
./stopFabric.sh
./teardownFabric.sh
- Abhinav Chanda - Blockchain Developer - a5chanda
- Ryan Min - Back-end Developer - ryanmin42
- Meihua LI - Front-end Developer - itsmeihua
- Vishv Patel - Financial Analyst - VishvPatel007
- Niaz Abedini - Business Analyst - nniiaazz