intentkit icon indicating copy to clipboard operation
intentkit copied to clipboard

Feat: Liquidity pool creation after token minting

Open taiyangc opened this issue 10 months ago • 4 comments

Right now, we can use a wallet provider (agentkit) to create a token mint. However, there isn't a way to create a liquidity pool through agent instructions. Either build a new skill for this, or integrate it as part of cdp or agentkit. Or propose a different flow.

taiyangc avatar Mar 09 '25 07:03 taiyangc

I will like to try this one ✋

Jonatan-Chaverri avatar Apr 07 '25 23:04 Jonatan-Chaverri

@Jonatan-Chaverri feel free to start or ask for any clarfications here

taiyangc avatar Apr 08 '25 02:04 taiyangc

@taiyangc thanks! I have some initial questions:

  • Are we aiming to create pools on a specific protocol (e.g. Uniswap V2/V3, Balancer, Curve)? Or should this be abstract enough to support multiple protocols?
  • Which chains are we targeting initially? (Ethereum mainnet, Arbitrum, etc.)
  • Should the agent directly deploy a new pool, or just add liquidity to an existing one?
  • Do you envision this as a new Skill or more of a sub-action under cdp or agentkit?
  • Should this be modeled as an Enso instruction / composition? (e.g. createPool → addLiquidity)

Or maybe can you just clarify more the vision you have for this, cause the description is very open to interpretation.

Jonatan-Chaverri avatar Apr 09 '25 01:04 Jonatan-Chaverri

Are we aiming to create pools on a specific protocol (e.g. Uniswap V2/V3, Balancer, Curve)? Or should this be abstract enough to support multiple protocols?

Should be abstract enough to support multiple protocols - of course, if you can find an aggregated protocol to help with deploying to multiple pools, that's even better!

Which chains are we targeting initially? (Ethereum mainnet, Arbitrum, etc.)

Base mainnet - right now intentkit hasnt enabled full multi-chain capabilities/discoveries yet

Should the agent directly deploy a new pool, or just add liquidity to an existing one?

Both if possible

Do you envision this as a new Skill or more of a sub-action under cdp or agentkit?

Sub-action under cdp or agentkit, whichever is more fitting

Should this be modeled as an Enso instruction / composition? (e.g. createPool → addLiquidity)

If you can also build it under Enso, we can compare the quality against it vs. agentkit, but agentkit preferred here

taiyangc avatar Apr 10 '25 10:04 taiyangc