03 Resources
3.3 Summary
Resource behaviors enhance the power of resource creation in Scrypto by attributing characteristics to resources. These behaviors include making resources "mintable," "burnable," or imposing restrictions on withdrawal and deposit, among others. Resource behaviors are set up by defining roles and access rules, allowing specific actions to be performed on resources.
- Resource behaviors add versatility to resource creation in Scrypto, enabling the creation of resources with specific attributes.
- Roles are used to specify authorities allowed to perform resource behaviors.
- Access rules determine under what conditions these roles can perform resource behaviors.
- Examples of resource behaviors include mintability, burnability, restrictiveness on withdrawal and deposit, updatable non-fungible data, recallability, and freezability.