03 Resources
3.4 Summary
Resources on the Radix network are uniquely identified by their
ResourceAddress. With every resource created on Radix, whether fungible or non-fungible and whether it has a supply or not, is associated with its own ResourceManager. We can use ResourceManager to inspect a resource or perform resource action such as minting and burning a resource. This allows us to manage resources that are coming in and out of a component we create.ResourceAddressis the identifier for Radix resources, allowing for differentiation between resources on the network.- Each resource automatically has an associated
ResourceManager, which provides various functionalities for managing and configuring the resource. ResourceManagercan be used to retrieve information about a resource, such as its metadata, resource type, supply, and more.- Resource behaviors, such as "mintable" or "burnable," can be performed using the
ResourceManagerif specified in the resource definition. - Storing the
ResourceManagerin a component's state allows for easy access to perform actions and inspect resources. - Resource actions like minting additional supplies and other functionalities can be performed using the
ResourceManager. ResourceManagercan be used to inspect resource properties, including resource type, ResourceAddress validation, divisibility of fungible resources, and calculating supply.