Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Blockchain for Java Developers - Cloud Conference Day
1. Blockchain for Java
Developers
Juarez Junior
Azure Developer Relations Lead
Microsoft
juarez.junior@microsoft.com Twitter/Medium: @juarezjunior linkedin.com/in/jujunior
2. Juarez Junior – https://twitter.com/juarezjunior
- 24 years in IT (professional) + 8 years (amateur)
- 9 years of experience in Developer Relations / Community / Mktg
- 15 years of experience in core software engineering/architecture
- Nokia Developers, Global Champion
- IBM Mobile Evangelist & Global Thought Leader
- IBM Cloud & Watson Evangelist, IBM Cloud Tech Rockstar Europe
- Oracle Developers Director, EMEA Advocacy & Strategy Lead
- Microsoft Azure DevRel in Ireland / Microsoft WE HQ
- Cloud, DevOps, Java, AI, IoT, Mobile, Blockchain(IBM, Oracle, MSFT)
5. The ledger can only be updated by
network consensus, and information can’t
be altered or deleted without the
knowledge of the whole network
Everyone in the network has an individual,
identical copy
Data is stored in a ledger—
a record of every transaction
Blockchain streamlines these processes by establishing
a secure, shared source of truth
6. Blockchain Networks
Consortium
Woodgrove
Financial
Contoso
Bank
Northwind
Traders
Bank b
Insurance c
Investment
consortium
c
Bank A
Blockchain
Location 1
Location 2
Location 3
Location 4
Department
A
Department
B
Public
blockchain
Person a
Woodgrove
Financial
Person B
Northwind
Traders
Bank 6
Bank 1
Consortium
6
Public
(permissionless)
Consortium
(permissioned)
Private
• Many, unknown participants
• Writes by all participants
• Reads by all participants
• Consensus by Proof of Work
• Known participants from one org
• Write permissions centralized
• Reads may be public or restricted
• Multiple algorithms for consensus
• Known participants from multiple orgs
• Writes require consensus of n participants
• Reads may be public or restricted
• Multiple algorithms for consensus
8. Transactions, Hashes and Blocks
GENESIS BLOCK
(must be the root for all on the same chain)
Transaction 0
Transaction 1
Transaction 2
Transaction 3
Transaction 4
New Hash
+
Block0 Hash
First Hash
New Hash
+
Block1 Hash
New Hash
+
Block2 Hash
0 seconds ~12 seconds ~24 seconds ~36 seconds
9.
10. Blockchain has broad applications across industries
Loyalty tracking
Product provenance
Logistics management
Digital rewards
P2P selling
Ticket purchases
Asset tracking
Real-time auction for
supplier contracts
Supply chain
transparency
Dynamic commodities
pricing
Claims management
MBS/Property payments
Fraud detection
Automated underwriting
Risk visualizations
Licensing and ID
Benefits distribution
Aid tracking
Military security
Copyrights
Audit compliance
Bond issuance
Trade finance
Loan syndication
Post trade settlement
Global payments
Derivatives trading
KYC/AML
Personalized medicine
Records sharing
Compliance
Agricultural
authentication
Pharmaceutical purity
Manufacturing Retail Insurance Government
Banking and
Capital Markets
Health
17. Corda on Azure + Code Samples
Corda on Azure — How to deploy and run a demo
Corda network
Corda on Azure — Deploying a Corda Testnet node
Java
Kotlin
CORDA BY R3
18.
19. Hyperledger Fabric Blockchain
• Permissioned, Enterprise
• Hyperledger Fabric – open-source protocol for distributed ledger solutions
– Provides a permissioned blockchain model with membership services
– Offers a modular architecture allowing components, such as consensus and membership
services, to be pluggable
– Enables pluggable data store, consensus protocols, and multiple providers of membership
services
– Programmable – leverages containers to host smart contracts
– Focuses on a permissioned implementation with confidentiality/privacy provisions
– No crypto required
• Hosted by The Linux Foundation
– Same governance model
– Other projects as part of Hyperledger Foundation ecosystem (Indy, Iroha, Sawtooth)
HYPERLEDGER FABRIC BY HYPERLEDGER FOUNDATION
25. Hyperledger on Azure with Azure
Kubernetes Service
https://medium.com/@juarezjunior/how-to-deploy-
your-first-hyperledger-fabric-components-with-
azure-kubernetes-service-aks-760563d9d543
Marketplace
GitHub
QUORUM BLOCKCHAIN BY J.P. MORGAN
26.
27. Transform your business with blockchain on Azure
Create smarter and more efficient processes with Azure blockchain offerings
Azure Blockchain
Service
Azure Blockchain
Workbench
Azure Blockchain
Developer Kit
Build, govern, and
expand consortium
blockchain
networks
Easily prototype
blockchain apps in
the cloud
Connect and integrate to
existing apps and move
to production
29. End-to-end Github examples that help connect and
integrate blockchain with existing apps
AZURE BLOCKCHAIN DEVELOPER EXPERIENCE
30. Building an end-to-end blockchain app is a huge
undertaking
Manually
deploy
ledger
Write business
logic
Orchestrate
signing, hashing
and routing
Store smart
contract
reference data
Synchronize
data with off-
chain DB
Ingest
messages and
events
Build web
client
API
management
Manage keys
Customize
integrations
Extend
capabilitie
Integrate with
existing
business apps
Configure
consortium
network
Link identities
to federated
systems
31.
32.
33. Azure is the best cloud for Blockchain
Ahead of the
competition
An open, app-focused
approach validated by
Gartner, Forrester and
many other third-party
analysts
Thoughtful product
portfolio
The most open and
comprehensive blockchain
portfolio to simplify
development of this new
class of applications
Trusted by customers
and partners
Businesses have built
thousands of blockchain
apps on Azure working
with our rich ecosystem of
blockchain partners
34. Streamline Blockchain app development
AZURE BLOCKCHAIN
Xamarin
IoT Hub
Gateway Service
API
Transaction Builder +
Signer
Azure Key Vault
Azure SQL database
Storage (Azure
Ethereum Router
Quorum Router Azure
Blockchain
Service
DLT
Watcher
Event
Grid
iOS App
Android App
Ethereum
39. Blockchain for Java Developers
Scan this QR-code to access free educational
resources, step-by-step learning guides as well as
get practical experience in Blockchain!
https://aka.ms/AAa4exo
Don’t forget to add Microsoft Azure as a skill to your
LinkedIn account to stay connected with our developer
community!
+ Microsoft Azure
We post the latest announcements about free events for
developers on our official Twitter account!
twitter.com/MSDev
52. Corda – Cloud network topology
CORDA BY R3
A Corda network is:
53. CORDA – Business network (consortium)
CORDA BY R3
A Corda consortium is:
business
client app CorDapp
nodes
org
Doorman
Notary
Oracles
Possibly messaging Gateways
54.
55. History of Corda on Azure
2016
Corda solution added to Azure
Marketplace
2017
Partnership announced between R3
and Microsoft
2018
Onboarded Insurwave consortium on
Azure
2019
Introduced Corda Logic Apps and Flow
to help with integration
Hello, my name is Juarez Junior and today I want to talk with you about how you can capitalize on the value of blockchain with Microsoft Azure Blockchain.
Let’s get started.
Note: This slide is animated and requires a click through.
Blockchain revolutionizes the establishment of trust by acting as a secure, shared source of trust that exists between cross-party organizations. <click>
Blockchain does this by storing a record of every transaction on a ledger, similarly to how someone records data in a spreadsheet or database. <click>
But unlike a typical spreadsheet or database, everyone on the blockchain network has their own identical copy of the ledger. And if someone wants to update the record? <click>
Before any transaction is added, altered, or deleted, every network member must agree to the change. This immutability makes it theoretically impossible to fraudulently alter data, since all changes must be approved by network consensus.
T: By providing a platform for cross-party consensus, blockchain helps enterprise ensure that their data is always telling the truth. <click>
Before we get into how the network does its magic, let’s clear up some complexity.
There are 3 types of blockchain network, there are actually just 2, but for the sake of completeness we have 3 here.
The first is a public network, this is Bitcoin and Ethereum and Ethereum Classic and Ripple and any other network that some one creates and other join anonymously.
The key is openness, anyone can join, no permission required. And anonymity, no one knows who you are and whether your intentions are good or not.
The other type is private or consortium. These are essentially the same thing, except with private you might be within a single organisation or conglomerate, but if you can deem value from a blockchain in this case, you really should just call yourselves a consortium.
In this model things aren’t open, you can’t just join the network and start mining blocks and making money. On-boarding new members usually entails a governance process of some sort and the consortium itself decides how the nodes on the network communicate. Do we use the open internet? Do we want our own private network over a VPN? The consortium decides.
In private or consortium networks there is usually no need for economic incentives for the mining nodes. Some broader, strategic business incentive or return on investment exists to justify the cost of running the network and mining nodes.
When have the ability to just join without permission, we call this Permissionless
permissioned ledger, meaning it is a ledger
accessible (for reading or for writing) only by known and pre-approved parties.
This differs from a permissionless ledger, like Bitcoin and Ethereum, where
anyone can read or write to the blockchain
Right, let’s get into this blockchain stuff.
To create a new blockchain network, we need the first block. It’s called the genesis block and it holds identifier and configuration information used by the network. But importantly, it holds the first hash, as previously mentioned.
This genesis block is also required by any new nodes that need to join the network. They must be provided the genesis block so that they understand the configuration for the network, but also so that they have the first hash and can participate in mining.
So this is at time 0, when I start the network, at this point nodes can accept transactions. These transactions could be the creation of accounts, the movement of ether, the creation of a smart contract, any transaction that could change the state of the blockchain.
Then, at the time configured for the network, in this example 12 seconds. The network mines the next block. This block is a hash calculated by combining hashes of the transactions executed between the last block and now, plus the hash from the previous block and a nonce (if that is what the consensus algo. requires.
The block is accepted by the network and so we have the first two links in our chain, block 0, no transactions and block 1, with 2 transactions and a unique hash that is based on those transactions and, importantly, the previous blocks hash.
And so this continues, every 12 seconds in this case, whether there are transactions or not, a block will be generated.
We can connect you with a partner to help stand up your POC or full-fledged blockchain application.
Our rich ecosystem of partners have already helped these customers stand up a blockchain solution and they can help you too.
T: The Microsoft Azure Blockchain portfolio simplifies your blockchain efforts.
<CLICK>