DipDup allows spawning new indexes from a template in runtime. There are two ways to do that:
- From another index (e.g., handling factory originations)
DipDup is currently not able to automatically generate types and handlers for template indexes unless there is at least one static instance.
DipDup exposes several context methods that extend the current configuration with new contracts and template instances. See 5.8. Handler context for details.
See 12.13. templates for details.