Account locker
The account-locker native blueprint is intended to be used to lock resources into instantiated locker components. These resources can then later be claimed when certain conditions are met.
Typically, this would be useful for airdrops or bridges between Radix and other blockchain networks.
Users with the STORER_ROLE
are allowed to store resources into the locker. Along with locking the resources, they are also allowed to specify a claimant (or list of claimants) for the stored resources. The claimant accounts have a nonfungible resource deposited into them that allows them to claim the resource afterwards. This is how access control is achieved, as anyone without the nonfungible resource badge cannot claim the resources.
Additionally, there is also a RECOVERER_ROLE
that can recover any stored resources without needing to have access to the corresponding claimer nonfungible resource badges.