Skip to content

Conversation

@kushalsrinivas
Copy link
Collaborator

@kushalsrinivas kushalsrinivas commented Oct 23, 2025

This pull request introduces a comprehensive integration of the Four.meme protocol, a fair-launch meme token platform on the BNB Chain, into the codebase. It adds new actions for buying tokens, retrieving token information, and provides all necessary constants, ABIs, and helper functions to interact with the protocol. The integration supports multi-token trading pairs, bonding curve pricing, slippage protection, and automatic liquidity provisioning.

Four.meme Protocol Integration

  • Added complete Four.meme protocol support, enabling fair-launch meme token operations on BNB Chain, including token creation, buying, selling, and querying trending tokens. Multi-token trading pairs (BNB, USDT, WHY, CAKE) and automatic PancakeSwap liquidity are supported, with gasless transactions and built-in slippage/deadline protection.

New Actions

  • Introduced BuyTokenAction in buyToken.ts to handle purchasing meme tokens during the bonding curve phase, including slippage protection, real-time estimates, and comprehensive transaction feedback.
  • Added GetTokenInfoAction in getTokenInfo.ts to retrieve detailed information about any Four.meme token, including bonding curve status, trading metrics, and liquidity details.

Core Protocol Support

  • Created constants.ts containing all Four.meme contract addresses, supported quote tokens, ABIs for the relevant contracts, type definitions for contract responses, and helper functions for token address/symbol resolution. This file centralizes protocol-specific logic and enables seamless interaction with the Four.meme smart contracts.

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.

2 participants