Have we found nirvana for Blockchain developers? This session will focus on building blockchain dApps (decentralized Apps) and deploy to blockchain! The session will cover getting started building dApps with PyTeal & Beaker, Reach and C#. We will cover how to set up your development environment as well as walk through a simple app frontend and backend. Finally, we will look one the huge benefits of Reach in the built-in verification process. Reach provides automatic verifications to ensure that your program does not lose, lock away, or overspend funds and guarantees that your applications are free from this entire category of errors. Also covered are building dApps with Python using PyTeal and Algorand for Visual Studio extension for C#.
In this session you will learn how to...
PyTeal
Use Reach to deploy on multiple blockchains
Set up development environment
Create a simple dApp
Verify a dApp
Algostudio Visual Studio extension for C#/.NET
Build Blockchain dApps using JavaScript, Python and C - ATO.pdf
1. Build Blockchain dApps using
JavaScript, Python and C#
Russ Fustino
Developer Advocate
russ@algorand.com
https://russ.algo.xyz/
2. No more assembly language!
Russ Fustino
Developer Advocate
russ@algorand.com
https://russ.algo.xyz/
3. 3
Building
a dApp
is hard…
▪ Where do I begin?
▪ Writing a Smart Contract seems
difficult
▪ Transactions costs can be
prohibitive
▪ What are dApps anyway?
▪ What skill set do I need to be a
blockchain developer?
▪ What types of problems does
blockchain solve?
4. 4
Agenda ▪ Use Cases
▪ Intro to Algorand
▪ Writing Smart Contracts
o C# - Algorand for Visual
Studio Extension
o JavaScript – Reach
o Python - Beaker
Open source:
https://github.com/algorand-devrel
https://github.com/algorand/go-algorand
6. 6
What Types of Problems Can I Solve with Blockchain?
Problem: Farmers can not get paid for grain until they sell it.
Agrotoken – Grain-backed, tradable digital assets
“We transform grains into a digital asset, to store or exchange for supplies, services and other assets.”
https://agrotoken.io/
7. 7
Problem: How to get
funds to people in need?
Disaster Relief
https://www.aid.technology/kokua
8. 8
More Problems
Blockchain Solves …
Tamper-proof charity organizations :
o China Ministry using blockchain
− improve transparency of social
services
− tracking of donations / audit trail
Voting - tamper-proof
Healthcare - global access / medical records
Automotive
o supply chain visibility - vehicle
integrity
o details of wear and tear of spare
parts, sensors writing to blockchain
9. 9
SIAE - Società Italiana
degli Autori ed Editori
(Italian Society of Authors and
Publishers)
Digital Copyright Assets using NFTs
(Non-Fungible Tokens)
• 4 million NFTs on Algorand for 95,000+ creators
• Copyrights for the first time - represented as
digital assets
• Decentralized and Transparent public blockchain
• Global and Open Infrastructure
• End-to-end Protection
• The Future
https://www.algorand.com/resources/news/siae-launches-4-million-nfts-on-algorand-for-creators
10. 10
Algorand Layer 1 Features
▪ Algorand Accounts
▪ Algorand Standard Assets
(ASA)
▪ Atomic Transactions
▪ Algorand Smart Contracts
▪ Reporting with Indexer
Developer Docs:
https://developer.algorand.org
11. 11
Algorand Standard
Assets (ASA)
FUNGIBLE TOKENS
• In Game Points
• Stable Coins
• Loyalty Points
• System Credits
• Cryptocurrencies
RESTRICTED
FUNGIBLE
TOKENS
• Securities
• Gov't Issued Fiat
NON-FUNGIBLE TOKENS
• In Game Items
• Supply Chain
• Real Estate
• Identity
• Certifications
• Collectables
RESTRICTED NON-
FUNGIBLE TOKENS
• Real Estate
• Ownership Registries
• Regulatory Certifications
13. 13
Blockchain
Transactions are
Expensive?
▪ Some blockchains range up to
$2000+ per transaction
o The average price per transaction
on the Ethereum blockchain was
$15, compared to fees during peak
traffic last fall as high as a few
hundred dollars. *
▪ Algorand is 1/20th of a cent
* https://www.fool.com/the-ascent/cryptocurrency/articles/ethereum-transaction-fees-hit-6-month-low/
14. 14
Blockchain
Transactions are Slow?
▪ In most cases, 1-1.5 hours per
transaction on Bitcoin
▪ 12-14 seconds to mine one
Ethereum block
▪ Algorand has instant
transaction finality and is under
4 seconds for block generation
15. 15
What are Salaries
Like? And the
Opportunities?
The entry level salary of a blockchain
developer is $115,000
7 percent of developer positions now have
blockchain requirements
Blockchain Developer
Developer
16. 16
Global Spending on Blockchain Solutions
Blockchain development is poised to enter our technical lexicon in the same way
“client-server programming” or “asynchronous programming” have.
18. 18
Writing smart contracts are considered complex?
▪ Developers often need a year of training to before safely handling state.
▪ Technology changes fast.
▪ State management within a contract involves...
o Learning a new (lower-level) language like TEAL or Solidity.
o Developing a skill set which is only applicable to the protocol/blockchain that
language supports.
o Limitations unique to each cryptographic protocol.
▪ Algorand’s ecosystem is booming and has great developer tools that make
writing dApps (Decentralized Apps) easy. To be covered soon.
23. 23
FIFA announces
partnership with Algorand!
• World football’s governing body
confirms collaboration with green
blockchain technology company
Algorand
• Algorand will become the official
blockchain platform of FIFA
• Partnership announced by FIFA
President Gianni Infantino and
Algorand founder Silvio Micali
https://twitter.com/Algorand/status/15212
66776276803585
35. 35
What is Reach?
• Program
• High-Level Language
• Looks and feels like JavaScript
• Compile
• Interoperable with Just a Configuration Change
• Mathematically Guarantees Safety
• Outputs the Entire App (Not just Smart Contract)
• Deploy
• Launches Appropriate Node- Multiple Blockchains
• Runs Test Simulation
45. 45
What is Beaker?
Python smart contract
framework that improves:
● Code Organization
● Deployment / Interaction
● Debugging
In short, it handles all the heavy
lifting for you
Beaker is a Python framework for building Smart Contracts
on Algorand using PyTeal.
52. 52
Summary ▪ Use Cases
▪ Intro to Algorand
▪ Writing Smart Contracts
o C# - Algorand for Visual
Studio Extension
o JavaScript – Reach
o Python - Beaker
PowerPoint: https://bit.ly/3TQzh92