Skip to content

Add bunch of stakers script#87

Open
Art3miX wants to merge 6 commits into
Wasmswap:mainfrom
Art3miX:main
Open

Add bunch of stakers script#87
Art3miX wants to merge 6 commits into
Wasmswap:mainfrom
Art3miX:main

Conversation

@Art3miX
Copy link
Copy Markdown

@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