Skip to main content

Fixed Supply

This fixed supply example mints the total supply of 10,000,000,000,000,000,000 coins and transfers the coins to the sender. Then, the treasury cap is locked as a dynamic object field to prevent further modifications.

To further ensure that the package cannot be modified in the future, burn the upgrade cap rather than transferring it.

View the full example on GitHub.