Guide
The following process shows how to create CW20 tokens, detailing steps to create, query, and execute CW20 methods.
Create
Step 1: Token Details
Name: Full name of the token.
Symbol: Abbreviation of the token name.
Decimals: Specifies the divisibility. For instance, 6 decimals imply you can have a minimum of 0.000001 of your token.
Initial Balance: The amount of tokens present when created.
Step 2: Mint
Minter Address: Address authorized to create new tokens.
Cap: Maximum number of tokens that can exist.
Step 3: Marketing
Project: Name displayed for marketing.
Description: Detailed information about the token project.
Wallet Address: Displayed as the official address.
Logo URL: Image URL for marketing and branding.
Query
Balance
Retrieve the balance of a specific address
Address in question
Allowance
Amount one address allows another to spend or burn
Allower address, Spender address
All Allowance
List of all allowances given by an address
Allower Address
All Accounts
Addresses holding the token
None (just the CW20 contract address)
Minter
Address authorized to mint tokens
None (just the CW20 contract address)
Marketing
Retrieve the token's promotional details
None (just the CW20 contract address)
Interact with the CW20 Token
Burn
Destroy tokens from your balance
Reduces total token supply
Burn From
Destroy tokens from another address
Uses permissions to burn
Increase Allowance
Expand the spending permission of an address
Based on your balance
Decrease Allowance
Reduce the spending permission of an address
Based on your balance
Transfer
Move tokens to another address
Direct transfer
Transfer From
Move tokens using permissions from another address
Requires prior allowance
Send
Transfer tokens with a follow-up message
Message executed post transfer
Send From
Use permissions to transfer and execute a message
Uses allowance, message post transfer
Update Marketing
Modify the promotional details of the token
Update branding/promo information
Update Logo
Change the branding logo of the token
Logo's URL
Last updated