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 DEX module integration with Boosted Pools support #50

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

Conversation

coccoinomane
Copy link

@coccoinomane coccoinomane commented Feb 3, 2025

Integration of the Beets DEX module with AUTOMATE.

Core team member Franz has already sent a form submission; my telegram handle is coccoinomane.

Please note that Beets DEX is based on Balancer; as soon as this PR is complete will tackle Balancer integration. I am already in contact with Balancer team about it.

Tested on production with a simple agent

git clone https://github.com/coccoinomane/anon-integration-guide/
cd anon-integration-guide
git checkout feature/beets-dex
cd projects/beets-dex
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 DEX?"

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: Remove liquidity
  • Getter: details about specfic LP position
  • Getter: Get pool ID by name
  •  Action: Add liquidity
  • Fix: allow swap of native Sonic
  • Fix: increase precision of printed numbers
  • Action: Swap Exact Out with custom slippage
  • Action: Token approval flow + check balance
  • Backend: Support for Beets Smart Order Router
  • Action: Swap Exact In with custom slippage
  • Backend: Use Beets token list to whitelist tokens
  • Getter: quote swap exact in
  • Getter: quote swap exact in
  • Getter: suggest best APRs for a given token
  • Getter: suggest best APRs for a given token pair
  • Getter: list of my LP positions

@coccoinomane coccoinomane changed the title Feature/beets dex Beets DEX module integration [Balancer fork] Feb 3, 2025
@coccoinomane coccoinomane changed the title Beets DEX module integration [Balancer fork] [WIP] Beets DEX module integration [Balancer fork] Feb 3, 2025
@coccoinomane coccoinomane changed the title [WIP] Beets DEX module integration [Balancer fork] Beets DEX module integration with Boosted Pools support Feb 14, 2025
@coccoinomane coccoinomane marked this pull request as ready for review February 14, 2025 17:58
@coccoinomane
Copy link
Author

coccoinomane commented Feb 21, 2025

@OoXooOx Beets DEX 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