Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🍘 Crank script #63

Open
alecchendev opened this issue Apr 10, 2022 · 0 comments
Open

🍘 Crank script #63

alecchendev opened this issue Apr 10, 2022 · 0 comments
Labels
atomic Single task, well defined

Comments

@alecchendev
Copy link
Member

Example script for cranks to use. Written in Rust.

Allow two options: 1) run crank for a certain subscription type 2) run crank over registry.

Ideas for implementation

Brute force: Basically just loops through registry, for each subscription type, it finds the total count, loops through each address, sends renew instruction
Time sensitive: Loops through everything and retrieves next renew times, sorts the next renew times earliest to latest, sleeps until that time, then sends tx.

@alecchendev alecchendev added the atomic Single task, well defined label Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
atomic Single task, well defined
Projects
None yet
Development

No branches or pull requests

1 participant