feat: add Mint Club V2 action provider#949
Open
h1-hunt wants to merge 2 commits intocoinbase:mainfrom
Open
Conversation
🟡 Heimdall Review Status
|
932ae5a to
efc1935
Compare
Add action provider for Mint Club V2 bonding curve protocol on Base. Actions: - get_token_info: Token details and bonding curve information - get_token_price: Current price in reserve tokens and USD - buy_token: Mint tokens via bonding curve - sell_token: Burn tokens via bonding curve - create_token: Create new token with bonding curve Uses viem for direct contract interaction with MCV2_Bond. Includes auto ERC20 approval, slippage protection, and USD pricing via 1inch Spot Price Aggregator. Docs: https://docs.mint.club Protocol: https://mint.club
efc1935 to
cfcd318
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds a comprehensive Mint Club V2 action provider to AgentKit, enabling AI agents to interact with bonding curve tokens on Base mainnet.
Features
Actions Implemented
Key Highlights
Technical Details
Architecture
Contract Integration
0xc5a076cad94176c2996B32d8466Be1cE757FAa270x00000000000D6FFc74A8feb35aF5827bf57f67860x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913Code Quality
Testing
All tests pass and follow AgentKit testing patterns:
Files Added
typescript/agentkit/src/action-providers/mintclub/mintclubActionProvider.tstypescript/agentkit/src/action-providers/mintclub/schemas.tstypescript/agentkit/src/action-providers/mintclub/constants.tstypescript/agentkit/src/action-providers/mintclub/utils.tstypescript/agentkit/src/action-providers/mintclub/index.tstypescript/agentkit/src/action-providers/mintclub/mintclubActionProvider.test.tstypescript/agentkit/src/action-providers/mintclub/README.mdFiles Modified
typescript/agentkit/src/action-providers/index.ts(added export)This implementation enables AI agents to seamlessly interact with Mint Club V2's bonding curve ecosystem, providing essential DeFi functionality for token creation and trading on Base.