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

Add bunch of stakers script #87

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Add bunch of stakers script #87

wants to merge 6 commits into from

Conversation

Art3miX
Copy link

@Art3miX Art3miX commented Jan 11, 2023

This script is able to add bunch of staker into the pool.

What it does:

  1. create docker to add stakers keys into junod
  2. fund stakers from our faucet wallet with needed tokens based on the pool
  3. add liquidity and stake LP token.
  4. kill the docker

Notes:

  • we loop over 1 staker at line 58, will need to change it to the real number (100? 1000?)
  • 1 thing to remember is that the faucet wallet needs to have the tokens we use in the pool to fund stakers.

Issues / Questions:

  • we execute 6-7 msgs per staker, doing it over a large number of stakers will take some time to finish, can this be handled in the script? (we also can't send too much msgs too quickly or the RPC will rate limit/block us)

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