Depending on where you live, and if it matters, give it to an attorney.
Maybe use this to trigger the notification to your attorney, with instructions on how to double check things before doing things.
Wouldn’t it be better to do this as part of a Terraform script or something? Not to take away from the project, it sure looks neat—just wondering if I really want to deploy yet another, independent IaC tool.
[0] https://betterstack.com/docs/uptime/cron-and-heartbeat-monit...
We called it a dead man's switch but it was really just a way to monitor alertmanager.
If you're going to have to write a scheduled check-in anyways, why not use something like cronitor and reduce the complexity? (they host the check-in endpoint)
If you don’t want to use a service like Cronitor, you can self-host this without the usual fear that an outage will also take down your monitoring.
We had to implement a “heartbeat” and “succession” in our blockchain-based solutions for organizations to control things together.
It’s part of our “application suite for organizations” where each one is sort of this general-purpose LEGO block that could be used to build a custom solution.
In each case, you’d enter some parameters and create an instance from a Factory. We made it simple and secure for any organization to use this.
In this specific one, ControlFactory is used to create ControlContract instance that can be used to control an address together (to sign off things collectively, like transfer tokens or call an arbitrary method on a different address)
We had to handle what happens if the M of N people don’t show up for a while. And we said they have to call a heartbeat() method every so often. If they fail to call it then control temporarily passes to the next group in succession, until the OGs can finally call the heartbeat() method again.
Here is more info on the why: https://community.intercoin.app/t/intercoin-applications-con...
And here are the rest of the blockchain apps for organizations: https://community.intercoin.app/t/applications-of-intercoin-...
You can go ahead and use it, the factory it’s been deployed on many EVM blockchains, at the same address.
PS: fun fact, you can configure a ControlContract to also manage calling methods on itself, thereby creating custom “policies” for organizations when it comes to granting/recoving rights of other people to the quorum.
Your own README links to this definition: "A dead man's switch is a switch that is designed to be activated or deactivated if the human operator becomes incapacitated".
This is a watchdog timer / monitor / heartbeat, setting off an alert if a timer elapses.