Merged
Conversation
- Add MCPConnectionPool for shared MCP server connections - Add isSimulation/mcpPool to BaseAgent infrastructure - Update all 8 agents with real data path + simulation fallback - Arb-scanner: CoinGecko prices for arb detection - Pump-sniper: CoinGecko trending for new token discovery - News-edge: CoinMarketCap fear/greed for sentiment analysis - Spread-farmer: Jupiter quotes for spread estimation - Liquidity-hunter: CoinGecko volume as liquidity proxy - Portfolio-guard: Helius balance for portfolio monitoring - Whale-tracker/copy-trader: simulation (needs WebSocket tools) - Orchestrator registers MCP servers when SIMULATION=false - All trades marked with isSimulation flag
- Add WalletManager with balance checking, gas estimation, trade execution - Add DB methods: upsertWalletState, getWalletState - Portfolio-guard uses WalletManager for real portfolio monitoring - Auto stop-loss/rebalance with wallet balance data - Wallet state synced to DB every 60 seconds - Orchestrator creates WalletManager when WALLET_ADDRESS is set - Includes Phantom MCP server in pool for wallet operations - 8 unit tests for WalletManager
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
WalletManagerクラスを追加(残高確認・ガス見積・取引実行・ステート同期)upsertWalletState/getWalletStateをDatabaseに追加変更ファイル
packages/core/src/wallet.tspackages/core/src/db.tspackages/core/src/index.tspackages/core/__tests__/wallet.test.tspackages/agents/portfolio-guard/src/agent.tspackages/orchestrator/src/index.tsTest plan
npm run build成功WALLET_ADDRESS設定時にウォレット機能有効化確認Closes #19