Skip to content

feat: hooks capability - #19

Open
stringhandler wants to merge 1 commit into
mainfrom
st-hooks-capability
Open

stringhandler wants to merge 1 commit into
mainfrom
st-hooks-capability

Conversation

@stringhandler

Copy link
Copy Markdown
Owner

Hooks (on_resolved, on_pre_broadcast, on_post_broadcast) become an optional part of the format: a manifest that sets a value in one must declare requires: ["hooks"], inferred and checked like simplicity, so a wallet that doesn't run hooks can refuse such a manifest up front. This wallet runs hooks, so its targets always provide the capability. The lending examples keep their hooks and declare it. Decision record 0002.

Hooks (on_resolved, on_pre_broadcast, on_post_broadcast) become an optional part
of the format: a manifest that sets a value in one must declare
requires: ["hooks"], inferred and checked like simplicity, so a wallet that
doesn't run hooks can refuse such a manifest up front. This wallet runs hooks,
so its targets always provide the capability. The lending examples keep their
hooks and declare it. Decision record 0002.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant