tangle-network / gadget

A framework for building modular AVS and Tangle Blueprints: https://docs.tangle.tools/developers/blueprints.
https://tangle.tools
Apache License 2.0
12 stars 3 forks source link

[TASK] Context Derives - Defaults and additional options #265

Closed Tjemmmic closed 1 week ago

Tjemmmic commented 1 month ago

Overview

Introduce Derive macros for GadgetConfiguration (Context) to simplify the implementation of common traits and functionalities. These derives will automatically handle boilerplate code, such as the implementation of the keystore, Tangle client, and standard defaults, allowing developers to focus on core logic without manual implementation of repetitive tasks.

Checklist

drewstone commented 1 month ago

Pseudocode examples would be helpful, but generally I think my first feeling about naming is that I don't like these names or deriving WithKeystore feels off.

shekohex commented 2 weeks ago

This checklist is almost done, the remaining task is caching the clients.

shekohex commented 1 week ago

This checklist is now done!