The document discusses Algorand Standard Assets (ASA) which allow users to create native tokens on the Algorand blockchain. It covers how to create, manage, and transfer ASAs, as well as different types of assets like fungible tokens, non-fungible tokens, and restricted assets. It also demonstrates how to query ASA data using tools like the indexer and Algodesk.io. Resources provided include code samples, tutorials, documentation and upcoming developer events.
Driving Behavioral Change for Information Management through Data-Driven Gree...
ASA Encode
1. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
1
Algorand Standard Assets - ASA
Russ Fustino
Developer Advocate
russ@algorand.com
2. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
New to ASA Development?
• Getting started?
• What are tokens?
• Create my own token?
• From an SDK?
• Query Assets?
• Visually creating?
• NFTs?
2
3. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Agenda
○ ASA
○ Query ASA and Tools
4. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
8
ASA
5. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
● Create Native Tokens
● Administrator Functions
● Asset Spam Protection
● Resides on Layer-1
Algorand Standard Assets (ASA)
T
Block Block Block
6. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Example Assets
FUNGIBLE
TOKENS
• In Game Points
• Stable Coins
• Loyalty Points
• System Credits
• Cryptocurrencies
NON-FUNGIBLE
TOKENS
• In Game Items
• Supply Chain
• Real Estate
• Identity
• Certifications
• Collectables
RESTRICTED
FUNGIBLE TOKENS
• Securities
• Gov't Issued Fiat
RESTRICTED NON-FUNGIBLE
TOKENS
• Real Estate
• Ownership Registries
• Regulatory Certifications
7. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
ASA Lifecycle
• Create
• Manage
• Opt-In
• Transfer
• Freeze
• Revoke (Clawback)
• Destroy
14
8. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Search on ASA tutorials in the Dev portal
16
11. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
19
Query ASA and tools
12. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Indexer
13. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Indexer
• Use sandbox default for Private network (includes
Indexer instance)
• Use a service:
• Purestake https://www.purestake.com/
• Rand Labs https://algoexplorer.io/
• Build your own
https://developer.algorand.org/docs/run-a-
node/setup/indexer/
•
21
14. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Indexer search on Algorand Blockchain
Blocks
Transactions
Accounts
Assets Applications
22
15. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Indexer Asset specific Queries
• Accounts for AssetID
• Accounts for AssetID with min/max balance
(Leaderboard)
• Asset Balances
• Transactions with AssetID, roles, account
• Assets by Name
• Assets by AssetID
• Address by Asset
25
19. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
NFT’s – How to build?
• NFTs can be built using Algorand’s layer 1 ASAs
• NFTs with unique transfer logic can be built using Stateful
Smart Contracts.
• NFTs built using ASAs can be manipulated with unique
logic using Stateless Smart Contracts.
• Highly configurable NFT applications can be built using a
combination of Atomic Transfers, ASAs, Stateful and
Stateless Smart Contracts.
29
https://developer.algorand.org/articles/building-nfts-on-algorand/
21. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Where are the code samples?
Java, JavaScript, Go and Python
File Structure by Feature/V2/Language:
• https://github.com/algorand/docs
• https://github.com/algorand/docs/tree/master/examples
File Structure By Language/V2/Feature:
• Clone https://github.com/algorand-devrel/hackathon
• https://github.com/algorand-
devrel/hackathon/tree/master/algorandsamples/v2
31
22. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
ASA Resources
Asset fields https://developer.algorand.org/docs/reference/transactions/#asset-parameters
Algodesk Minter – NFT https://www.originmint.io/#/login
NFT Game Solution https://developer.algorand.org/solutions/algorealm-nft-royalty-game/
Building NFT’s https://developer.algorand.org/articles/building-nfts-on-algorand/
Unity Solution(ASA)
https://github.com/Vytek/AlgorandUnity/blob/4ff604375d8f52c96185d4b48afbeb92f6da9443/
Assets/Scripts/AlgorandManager.cs#L122
Solution: https://developer.algorand.org/solutions/simple-example-using-algorand-with-unity-
3d-engine/
•
33
23. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Summary
○ ASA
○ Query ASA and Tools
26. • Click to edit Master text styles
• Second level
• Third level
• Fourth level
• Fifth level
Resources
● Discord: https://discord.gg/YgPTCVk
● Developer Portal (Documentation and Tutorials):
https://developer.algorand.org/
● Forum: https://forum.algorand.org/
● GitHub: https://github.com/algorand
● PowerPoint: https://bit.ly/3dpRxmB
● OFFICE HOURS sign up:
https://www.algorand.com/developers
27. Upcoming
Developer Office Hours
April 20th, 13:00 UTC (9am EST) | NFT design
considerations & best practices
May 4th, 16:00 UTC (12pm EST) | ALGORealm &
How to create NFTs with royalties on Algorand
OFFICE HOURS sign up:
https://www.algorand.com/developers