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

Beets staking module integration [stS token] #35

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

Conversation

coccoinomane
Copy link

@coccoinomane coccoinomane commented Jan 22, 2025

Beets staking module integration from https://beets.fi/stake

Core team member Franz has already sent a form submission, my telegram handle is coccoinomane 🙂

Tested on production with a simple agent

git clone https://github.com/coccoinomane/anon-integration-guide/
cd anon-integration-guide
git checkout feature/beets-lst
cd projects/beets-lst
pnpm install
cp .env.example .env
// Insert OpenAI API key in .env
// Insert Private key of test wallet in .env
pnpm ask "what can I do on Beets?"

Video example

beets-lst-demo.mp4

To do list:

  • Adapt to HeyAnon SDK v2
  • Getter: how the protocol works and what you can do with integration
  • Ensure getters return at most 500 tokens
  • Ensure we handle multisig output appropriately
  • JSDoc for functions (example)
  • Format README according to new guidelines
  • Action: withdraw and withdrawAll
  • Getter: list active withdrawals
  • Minor: Implement minimum deposit & unstake limits
  • Getter: stS->S and stS->S exchange rates
  • Getter: S in protocol and delegated S in protocol
  • Action: Stake
  • Getter: stS balance
  • Action: unstake
  • Testing: Implement E2E testing script

@coccoinomane coccoinomane marked this pull request as ready for review January 25, 2025 11:32
@coccoinomane coccoinomane changed the title [WIP] Beets staking module integration [stS token] Beets LST integration [stS token] Jan 25, 2025
@coccoinomane coccoinomane changed the title Beets LST integration [stS token] Beets staking module integration [stS token] Jan 25, 2025
@coccoinomane
Copy link
Author

@OoXooOx Beets LST integration ready to be reviewed 🙂 Uses v2 SDK and new guidelines.

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