Introducing Automated Cycleops Management for daos: Sneed.App

Automated Cycleops Management for SNS Daos:

Over time, we have come close to running out of cycles in our canisters over at @icsneed. We decided to build an automated monitoring system, and to integrate sns functionality. Our Service interacts with Each SNS via a neuron.

The Dapp:

Sneed.app

https://lavei-aiaaa-aaaan-qz3ga-cai.icp0.io/auto-topup

What it does:

  1. Runs a timer
  2. Scans the Cycleops account for a balance
  3. If the balance is above 25 Icp, it resets the timer until the next period
  4. If balance is below 25 Icp, it issues an automated sns treasury transfer proposal for 100 Icp to the designated cycleops account, and resets the timer for the next period.

How it works:

Each Dao has its own canister, hotkeyed to a neuron. This keeps timers and checks partitioned well, and operating independently of one another and the front end to maximize continuity.

Security concerns:

The Application does not interact with tokens, simply issuing proposals. Dao canisters are built with hardcoded addresses, and remain stable throughout upgrades to minimize risk.

Cycleops are currently permissioned, so in theory if someone was to provide incorrect addresses the automated proposals could send Icp to an incorrect address

Next steps:

Finish building the dashboard shells for each dao, and enable a permissonless system for dao curators to enable their own monitors

Opensource the Monitor Canisters

Register to sneed sns

An open invitation:

The service is currently operating for a number of sns daos

@tacodaoicp

@infu

Motoko Dao

Dragginz dao et al

@icsneed

And we welcome any Dao to reach out to set up a monitor canister.

Special thanks to @icme @rem.codes @Snassy-icp for the assistance

6 Likes