issues
search
stellar
/
soroban-examples
Example Soroban Contracts
Apache License 2.0
57
stars
60
forks
source link
Token supply
#302
Open
icolomina
opened
5 months ago
icolomina
commented
5 months ago
This adds supply control to the soroban token example:
Can initialize the token with a supply amount (not required).
If supply provided, cannot mint if amount to mint is greater than supply. If minted, supply is decremented with minted amount.
burn and burn_from increments supply with the amount burned.
This adds supply control to the soroban token example: