Skip to content

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
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