Algorand is a new blockchain built on a Permissionless, pure proof of stake, decentralized agreement protocol, where anyone can participate and requires minimal computational power. This protocol finalizes transactions very quickly and offers true decentralization.
For developers the Algorand blockchain provides JavaScript, Java, Python and Go SDKs. Additionally REST endpoints are provided for interacting with the nodes and handling wallet functions. These REST endpoints are based on the OpenAPI Specification and can be used to build clients in any language.
This session covers the basics of how the Algorand protocol works, cover the architecture overview, managing the node with the command line tools, and show developers how to integrate using the SDKs to build Layer 2 applications.
2. The documents and statements presented on (or directly accessible from)
this presentation may contain forward-looking statements. These statements
relate to future events or Algorand Network's future performance, financial
or otherwise. Any statements that are not statements of historical fact
(including without limitation statements to the effect that the Company or
its management “believes”, “expects”, “anticipates”, “plans” (and similar
expressions) should be considered forward looking statements. There are a
number of important factors that could cause Algorand Network’s actual
results and outcomes to differ materially from those indicated by the
forward looking statements. The Algorand or any other party contained
within disclaim any obligation to update any forward looking statement.
Safe Harbor
3.
4. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Get the goods!!!
Hackathon:
https://github.com/algorand-devrel
SDKs:
https://github.com/algorand
7
5. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Tamperproof Transparency Trust
The Blockchain Promise
Unlimited Applications
6. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Ransomware Attacks!!!
• City of Baltimore and over 25 other cities!
• $100,000
• What is worse then Ransomware Attack?
• Ransomware Paid! by Palm Beach, FL
• $600,000
11
7. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
What happens when you swipe your card at Starbucks?
• Front-end processor
• Acquiring bank
• Card association
• Issuing bank
• Payment processor
• Federal Reserve
• Clearing House Payments Co
12
8. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Today’s Centralized Economies Are Broken
13
*Sources: McKinsey, Fundstrat, Bloomberg, PwC
9. Agenda
§ Blockchain Basics
§ What is Algorand?
§ Algorand’s Consensus Model
§ Algorand Foundation
§ TestNet
§ APIs, SDKs and Command Line tools
§ Planned Developer Features
11. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Problem: Databases FAIL to Work for Many Applications
Central Authority decides:
• Who has access
• What types of data they can have
• What is stored in it
• What is deleted
• What is archived
Flaws:
• Single point of failure
• Deny or fail to provide access
• Hard to access globally
• Hard to maintain and manage data
replication across multiple databases
16
12. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Wanted: Distributed, Secure, and Efficient Ledger!
17
13. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
18
Data
Block
Data
Block
⋯ Data
Block 𝑘+1
Blockchain
A sequence of data organized in blocks
(1) Writable by All (2) Readable by All (3) Tamperproof for All
14. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Blockchain Properties
ü Global instant access
19
ü Absolute trust and
accountability
ü Tamperproof append only log
ü Cheap to transact and
share information
ü Virtually impossible to break the system!
15. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Blockchain is Good for
20
ü Notarization and Storage
ü Ordering of information
ü Disintermediation
ü Payments and
cryptocurrencies
ü Supply chains
16. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Applications
21
ü Payments
ü Voting
ü Self-driving cars and IoT
communication
ü Digitization and tracking of assets
and records (e.g., car titles, birth
records, degrees)
ü Health care record keeping
ü Waste management tracking
systems
ü Authorization of identities
ü Multi-party transactions ü Cross-organization transactions
ü Billing
17. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Applications Domains
22
ü Health care
ü Real-estate
ü Communication
ü Government records
19. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Borderless…
Commerce
Transactions
Exchange
Opportunity
Applications
Development
Finance
Currency
EconomyMoney
Governance
Investment
Participation
Trade
Markets
Customers
Technology
Innovation
Contracts
20. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Algorand
Alternative Blockchain
Developed from First Principles
Enabling Continuous Progress
Smart Science and Proven Leadership
Broad-based Global Investment Group
Cryptography pioneer,
Turing award-winner,
MIT professor
Leading Scientific and Industry Advisors
21. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Algorand
Pure Proof of Stake
0.001 algo per transaction ~=
5 second block confirmation
1000 transactions/second
Scales to billions of users
23. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Algorand
Pure Proof of Stake
Simplified Smart Contracts
Network-Wide Incentives
Seamless Upgrades
Scalable & Secure
𝐵$
𝐵%
𝐵&
𝐵'
𝐵(
…
Effortless One-By-One Byzantine Agreement
Forks? Proof of
Work?
24. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Pure Proof of Stake Consensus
ü Public and permissionless
ü All users can participate in consensus
ü Blocks are confirmed by voting
ü Every token carries the same voting
power
ü No need to delegate or bond
ü Minimal compute required
25. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Key Idea
1) Sample a small committee at random from the set of all users
2) The committee agrees on a block
of transactions. Every member
verifies transactions and digitally
signs it.
𝐵$
𝐵%
𝐵&
𝐵'
𝐵(
3) The block is added to the chain
𝐵(𝐵)𝐵)
26. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Algorand Consensus Overview
27. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Learn More about Algorand Technology
ü Byzantine Agreement Protocol
ü Random Sampling using Verifiable Random Function: Introduced by Micali (founder of
Algorand), Rabin, and Vadhan in ’99
29. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Algorand Foundation Rewards
§ See Foundation site
https://algorand.foundation/token-dynamics
§ All users online and offline are eligible to earn rewards
31. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
TestNet Rocks!
32. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
TestNet Node Map
33. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
TestNet AlgoExplorer
67
34. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Install your node!
Install new node
• Log into https://developer.algorand.org/
• https://developer.algorand.org/docs/introduction-installing-node
68
36. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Wallets and Accounts - Logical Overview
wallet Account
Private Key
Address/Public Key
Derived
Mnemonic
Spending
Account
Account
Im
port/Export
Stand Alone SDK/Algokey Generated
Mobile Apps/AirGapped or non KMD
Managed Wallets
WalletID
Wallet Name
Wallet Mnemonic
Wallet Driver
Managed By KMD process on Node
37. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Multi-Sig accounts
Multi-Sig
Account
Address2 (PK2)
Address1 (PK1)
Address3 (PK3)
Threshold Level
Address(Hash of PKs)
38. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Participation Keys- Logical Overview
Account
VRF Key using in VRF function
Voting Keys are generated for round range
Participation Keys are used for participating in consensus and associated
to spending keys
Spending keys used for creating and issuing signed transactions
Algorand Participation Node
Participation Key Set
VRF Key
Voting Keys
Generate Parkeys Goal/Algokey
Take Online Transaction
Can be Signed on or offline
Associates Keys to Account
39. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Algorand Processes
kmd
algod
Node
1
2
1. KMD handles all interaction with
spending keys, including signing
transactions. Signing can be stand alone as
well.
2. Algod is responsible for processing the
protocol and interacting with SQLite to
record the ledger. Implements REST API
for read only APIs.
41. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Goal
goal
clerk
account
addpartkey
balance
changeonlinestatus
importrootkey
list
new
multisig
rename
send
multisig
rawsend
ledger
supply
logging
disable
enable
send
network create
delete
restart
start
status
stop
node
clone
generatetoken
lastround
restart
start
status
stop
version
Wallet
KMD
list
new
start
stop
delete
listpartkeys
rewards
pendingtxns
export
import
partkeyinfo
renewallpartkeys
renewpartkey
42. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Private Network
Private Networks are primarily for developers to learn from locally.
44. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Swagger.Json
45. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
How do you download the swagger files?
There are two swagger definition json files,
one for Algod and one for KMD
For Alogd use this:
http://localhost:8080/swagger.json
curl http://$(cat ~/node/data/algod.net)/swagger.json > swagger.json
For kmd use this:
http://localhost:7833/swagger.json
curl http://$(cat ~/node/data/kmd-v0.5/kmd.net)/swagger.json > swaggerkmd.json
81
46. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Generating Clients
47. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
SDK Functionality
83
kmd Wrapper
algod Wrapper
Stand-alone
functions
Create accounts
Account Mnemonic
Create Transaction
kmd
algod
Sign Transaction
Air Gapped
Applications
Networked
Applications
48. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
SDK Documentation at Developer.Algorand.org
84
49. Demos
JS, Go, and Java SDK’s
Algorand TestNet Dispenser
REST API
goal
Algoexplorer.io
Resources
85
50. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
ENTER TO WIN YUBIKEY and
Thule 32L Backpack TODAY IN THIS SESSION!
https://www.algorand.com/developer-entry
86
WIFI info:
51. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Get the goods
Hackathon:
https://github.com/algorand-devrel
SDKs:
https://github.com/algorand
PowerPoint:
https://bit.ly/2S8fliP
87
53. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Near Term Projects
§ Vault - Solve blockchain storage issues
§ Pixel – Address size and bandwidth of multi-signature requirements
§ Self Validating Transactions – Address balance time constraint
§ Atomic Swaps – Crosschain and multi-asset swaps in single transactions
§ Post-and-Sale Trades – Get buyers and sellers together quickly
§ Smart² contracts, quantum-resiliency
Source: https://algorand.foundation/roadmap
54. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Become An Algorand Ambassador
• Work directly with the Algorand team and
learn from the best in the field
• Host your own hackathon or developer
meetup to help others in your community
build on top of Algorand
• Connect with other developers from all
over the world who are also building on
Algorand
• Get the latest news and updates about
our platform before anyone else hears
about it
90
è Visit community.algorand.org
55. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Summary
• Algorand Has Launched!
https://twitter.com/Algorand/status/1141368150467993601
92
§ What is Algorand?
§ Algorand’s Consensus Model
§ Algorand Foundation
§ TestNet
§ Process Architecture
§ APIs, SDKs and Command Line tools
§ Planned Developer Features
56. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Sign up Today!
93