You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
WithKeystore: Automatically implement the keystore trait for any struct that derives WithKeystore. This will provide out-of-the-box support for secure key management.
WithTangleClient: Automatically implement the client function that returns a new subxt::OnlineClient instance for interacting with the Tangle. This will streamline integration with the Tangle network.
StandardDefaults: (Name will change) Automatically derive a set of common derives (e.g., Default, Clone, Debug, PartialEq) for GadgetConfiguration, reducing the need for manual derivations and ensuring consistency.
Specific keystore derives for functions specific to each key type e.g., first_ecdsa_signer
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.
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
WithKeystore
: Automatically implement the keystore trait for any struct that derives WithKeystore. This will provide out-of-the-box support for secure key management.WithTangleClient
: Automatically implement the client function that returns a new subxt::OnlineClient instance for interacting with the Tangle. This will streamline integration with the Tangle network.StandardDefaults
: (Name will change) Automatically derive a set of common derives (e.g., Default, Clone, Debug, PartialEq) for GadgetConfiguration, reducing the need for manual derivations and ensuring consistency.first_ecdsa_signer
The text was updated successfully, but these errors were encountered: