Protocol
Protocol
Developer
Developer
Concepts
Concepts
Learn by Building
Learn by Building
GitHub
GitHub
(opens in a new tab)
Discord
Discord
(opens in a new tab)
On This Page
🟡 What is a Token and Why You Need It?
🔑 Prerequisites
🚀 Building a Token in ao
🛠️ Let's Start Building
Initialize the Project
Importing the required modules
Defining the Utils Helper Function
Initializing the Token State
Initializing Balances
Setting Name
Setting Ticker
Setting Denomination
Setting Logo
Understanding the Info Handler
Handler Definition
Understanding the function
Invoking the Handler
Understanding the Balances Handler
Handler Definition
Understanding the function
Invoking the Handler
Understanding the Balance Handler
Handler Definition
Understanding the function
Understanding the Message Flow
Invoking the Handler
Understanding the Transfer Handler
Handler Definition
Understanding the function
Understanding the Transfer Execution
Understanding the Message Flow
Invoking the Handler
Understanding the Mint Handler
Handler Definition
Understanding the function
Invoking the Handler
Understanding the Total-Supply Handler
Handler Definition
Understanding the function
Invoking the Handler
⏳ Loading the File
🤝 Need Help?
Is this page helpful?
(opens in a new tab)
Edit this page on GitHub
Scroll to top
Learn by Building
Basic ao Tutorials
Token