O slideshow foi denunciado.
Seu SlideShare está sendo baixado. ×

BlockchainLAB Hackathon

Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Carregando em…3
×

Confira estes a seguir

1 de 21 Anúncio

Mais Conteúdo rRelacionado

Diapositivos para si (20)

Semelhante a BlockchainLAB Hackathon (20)

Anúncio

Mais recentes (20)

BlockchainLAB Hackathon

  1. 1. 1 BlockchainLAB Innovations Lab May 2017
  2. 2. Who we are?  Aleksandr Kopnin – Luxoft Innovations Lab Blockchain Account  Team is composed of experienced development professionals from the payments, cryptography and finance industries; 2 Agenda: 1. Luxoft Blockchain Practice 2. BlockchainLAB Challenges 3. Network Configuration 4. BlockchainLAB Skeletons Partners and Platforms https://www.linkedin.com/in/kopnin akopnin@luxoft.com
  3. 3. Luxoft Blockchain Practice 3 Differentiator Benefits for our clients Vendor Neutral We have assessed all major platforms in terms of their strengths, weaknesses and nuances. Devops-for-DLT We have wrapped key DLT platforms in devops toolkits to ensure easy and repeatable installation. Methodology We created a bunch of Proof-Of-Concept to be experienced with Blockchain in practice. We do research on the early stages with focusing on practical use cases. Community We have engaged with the community and early adopters - our group CTO is Vice President of the CryptoValley Association in Zug. Partnerships We have fostered official partnerships with various complementary consulting companies and key vendors. Advanced Technologies Blockchain is just one of many technology areas we have deep experience of, we do not restrict ourselves to one area of expertise.
  4. 4. Luxoft are currently working with scientists and core developers of different Blockchain platforms. Our team are continually researching Blockchain platforms’ reliability, safety, stability and attack-resistance. Using the power of supercomputer, we are simulating difficult use cases, observing platforms’ behavior in long-term usage, gathering statistics and assessing Blockchain’s applicability in different areas, such as Internet of Things, Healthcare, Finance and others. Computing system Characteristics Nodes (Num) Rmax (tFlops) Pmax (mWatt) Cluster “Tornado” 2 CPU, Haswell (14 cores), RAM 64GB 612 713 365 2CPU, Haswell (14 cores), 2GPU Nvidia K40, RAM 64GB 56 225 64 Totals: 1336 CPU, 18704 Cores x86, 112 GPU, memory 42752 Tb 668 938 429 “PetaStream” 1 Intel Xeon Phi 5120D, 60 Cores, 240 Threads, RAM 8GB Totals: 17280 Cores, 69120 threads, memory: 2304 Tb 288 289 100 Cloud System “Tornado” 2 CPU, Haswell (14 Cores), RAM 128 Gb 28 33 16 2 CPU, RAM 128Gb, 1 GPU, Nvidia Grid K1(K2) 16 19 12 4 Scalability Testing
  5. 5. CHALLENGES Challenges
  6. 6. Event Details HACKATHON IN ST.PETE Organizer: Luxoft Partner: IBM Platforms:  Ethereum Geth1.6  Hyperledger Fabric 1.0 Format:  Max 10-15 teams;  3-5 participants per team; Demos:  AllView – Automotive Luxoft Practice 6
  7. 7. Challenges Overview 7 The theme for our hackathon is to apply blockchain to newer and wider industries. We invite participants to come and work with our expert mentors to leverage Blockchain and its unique combination of immutability, strong encryption and data sharing to create innovative and disruptive solutions in the themes of :  Education  Healthcare  Smart mobility
  8. 8. Education 8 Education is one of the most significant parts of our life and forms the foundations for who we are. The education ecosystem is inefficient and often inflexible. In the Smart City of the future we will be creating education processes that will be transparent and modern. There are many areas that could be tackled, and we list some examples below, but you are not limited to these areas in your thinking: Education DEVELOPMENT  How could Admission to a School or University be automated?  How can sponsorship programs and investor’s commitment to a student be monitored? SECONDARY SCHOOL UNIVERSITY# 1 UNIVERSITY# 2 UNIVERSITY#3 COURSES, GRANTS, DEGREES PRIMARY SCHOOL
  9. 9. Healthcare 9 Healthcare is one of the fundamental services throughout one’s life. For the healthcare challenge we would like you to consider how to create an innovative and connected healthcare ecosystem. You can consider any and all processes around people are related from health monitoring to health services supply services. Some suggested problems to get you thinking:  Electronic Health stability monitors (from birth)  Insurance companies that provide insurance schemes that dynamically depend on a patient’s activities and location;  Citizen lifestyle monitoring that can determine care services;  All visits to physicians are shared between the clinics; CITIZEN CARE CARD COMPLAINT HISTORY LIFESTYLE MONITORING SUPPLY SERVICES
  10. 10. Smart Mobility 10 City mobility brings many benefits to citizens. Imagine if modes of transport could communicate with the city, be that vehicle-to-vehicle, services to vehicle or perhaps insurance with the police. This has the possibility to make the city safer and faster and ultimately improve the quality of life for its citizens. Some suggested topics are  Vehicle-to-vehicle communication  Traffic lights to collect statistics and make decisions;  Drivers to get compensation for giving way if asked;  Crowdfunding (flights, car sharing, etc.)
  11. 11. Submissions The judging will be based on the amount of innovation in your solution, both from a technical perspective but also from a social perspective – how will society benefit from your solution? At the end of the hackathon, you will be expected to present your solution, and you should include:  What problem does your solution solve?  What is the technical architecture?  What benefits will your solution bring to society? 11
  12. 12. CONFIGURATION OF THE DEVELOPMENT NETWORK Network Configuration
  13. 13. Network Characteristics 13 There are 2 development networks were created:  Hyperledger Fabric v1.0  Ethereum Geth, POA FABRIC There are sort of demo applications were prepared:  Hyperledger Fabric v1.0  Chaincode:  Golang  Demo applications:  Java Skeleton Application, using Fabric SDK  NodeJS Skeleton Application, using Fabric SDK  Ethereum  Smart Contract:  Solidity  Demo applications:  Java Skeleton Application, using web3j SDK  NodeJS Skeleton Application, using web3 SDK TEST NETWORKS:
  14. 14. Ethereum Development Network 14 Network key features:  Client type is Ethereum Geth;  Ethereum network consists of 4 Nodes and shared between all teams;  Ethereum network works in Proof-of-Authority mode, where special Node to generate new Blocks exist;  Every team can send request to the support to get Eth;  Every team can requests more amount of Eth;  POA has no required fee for transaction;  Block generation time is 15 seconds; Web3(J) over JSON-RPC Client Java/NodeJS List of IPs to connect to the Network: 1. 185.162.94.133 2. 185.162.94.134 3. 185.162.94.135 :8545 - RPC Link to get Demo Applications: http://185.162.94.131 Smart Contract
  15. 15. Hyperledger Fabric 1.0.0 Development Network 15 Network key features:  Development Fabric network consists of the 4 Nodes: 3 Peers and 1 Orderer;  Components of Development network are wrapped into the Docker;  Network runs locally using Docker-compose;  Fabric Peers are connected within the same Channel; Java/NodeJS SDK over gRPC Client Java/NodeJS List of Addresses to connect to the Local Development Network: 1. 127.0.0.1:7051/7053 (Docker Image) 2. 127.0.0.1:7056/7058 (Docker Image) 3. 127.0.0.1:7061/7063 (Docker Image) Link to get Demo Applications: http://185.162.94.131 Chaincode ORDERER DOCKER IMG PEERS DOCKER IMG
  16. 16. HACKATHON DEVELOPMENT STARTER PACK Skeletons and Test Applications
  17. 17. --hackathon-ethereum ----js-app ----java-app --------build -----------generated-sourcesjava --------native --------src ------------java ------------solidity ------------resources --------build.gradle --------solidity.gradle Ethereum Skeletons and Test Applications Demo application is written on JS. App uses web3 SDK to connect to the Network. Application demonstrates Smart Contract deployment, calling update and constant members, and waiting for events. Gradle project for Demo App is written on Java. App uses web3j SDK to connect to the Network. Auto-generated Smart Contract classes will be placed here after build Smart Contract Compilers for Win, MacOS, Linux Gradle configuration scripts. Build.gradle depends on solidity.gradle. Solidity script builds sources and places auto-generated files under the buildgenerated-sourcessolidity folder Source codes: Java + Smart Contract Ethereum test wallet The easiest way to start development is to open Gradle project in any IDE. The wallet file should be put into skeletonsrcresources directory. If balance is required, please, contact support team. Shared Hackathon network can be used for development and release purposes.
  18. 18. Fabric Network Topology MY-CHANNEL ORGANIZATION#1 ORDERER 1. Peers’ keys verified and signed by Organization#1 (by CA department); Peers belongs to the Organization#1; If more Peers are required certificate should be created; 2. Users are authorized by Organization#1 and gets enrolment certificates; 3. Orderer has certificate of Organization#1 to verify Peers and Users; 4. Transaction is sent to Endorser Peers and after getting enough confirmations will be send to the Orderer; Suggested Fabric Network consists of 3 Peers joined to the single Channel. If more Channels are required than configtx.yaml should be modified; CA
  19. 19. --hackathon-fabric-node ----blockchain*.js ----chaincode ----network --------channel --------crypto-config --------tls --------docker-compose.yaml --------fabric.sh ----app.js ----config.json Fabric NodeJS Test Applications List of java script files. Scripts cover Fabric’s base functionality and wrap JS SDK. Files are exposed Blockchain functions and normally it’s unnecessary to modify. Application can be implemented based on the exposed functions Fabric Chaincode (Smart Contract). Folder is shared with Docker network and is used for chaincode deployment Configuration files of Fabric Blockchain Network Fabric Channel configuration Fabric Channel Cryptography files, such as certificates, private keys, etc. Network configuration. List of parties and rules how to run them. If you need more than suggested parties, please, modify docker-compose Easiest way to run and stop the network Simple Backend NodeJS application. App demonstrates contract deployment, update and read data Application configuration file
  20. 20. Support Channel w w w . h i p c h a t . c o m # L u x o f t - B l o c k c h a i n Guest Link: https://www.hipchat.com/gDslkQVE1 Invite Link: https://luxoft-blockchain.hipchat.com/invite/711709/b796c33c1bf05e7ccb47a910116d1b19 Files: http://185.162.94.131
  21. 21. Thank you www.luxoft.com

×