These docs are for v2.0. Click to read the latest docs for v3.0.

Discussions

Ask a Question
Back to All

Prevent deleting a hook

Is there anyway to prevent a hook from being deleted?

my thought process:
I don't want a user to be able to remove the hook...
so if an account is compromised and the seed/keys land up in the hands of a malicious user. that malicious user should not be able to remove the hook...

can a hook be programmed to check some state before being removed/overwritten and act upon that state?

is there any sort of OnRemove(); BeforeRemove();

very broad question so im open round about ways.

thanks,