feat: add Taifoon integration commands#12
Open
yawningmonsoon wants to merge 5 commits intojup-ag:mainfrom
Open
feat: add Taifoon integration commands#12yawningmonsoon wants to merge 5 commits intojup-ag:mainfrom
yawningmonsoon wants to merge 5 commits intojup-ag:mainfrom
Conversation
- jup taifoon subscribe: SSE signal subscription - jup taifoon proof: V5 proof bundle fetching - jup taifoon register: Agent registration - jup taifoon report: Trade PnL reporting with proofs - jup taifoon leaderboard: View top agents - jup taifoon stats: View agent statistics Integrates with Taifoon Network for verifiable trading agent PnL tracking.
AgentPnLTracker deployed to Taifoon devnet: 0x318638eb839695eBC9ed1b67EbD02132fB31F3a9
- register-chain: auto chain ID derivation from RPC, testnet rejection, already-registered detection - configure: block submission interval, finality type, RPC endpoint - verify: cross-chain proof availability check against DA-API - add-rpc: add endpoints to existing chain pools - list/status: view registered chains and collection status - 30+ known testnet chain IDs blocked - Non-EVM chain type support (Solana, Bitcoin, Polkadot, Tron, Aptos, ICP)
- Full finality type mapping (15 types) mirroring DA-API v5_proof_assembler.rs - Links each chain to its TaifoonLightClientRegistry verifier contract - Unknown chains get DEPTH_BASED fallback with warning + custom verifier CTA - Verify command shows full finality path: source consensus → dest consensus - L2 chains show output root anchor info, depth-based show confirmation count - Registry address: 0xC38F...B73 (devnet 36927) Tested: - Known registered chain via RPC (Arbitrum) → shows pool + add-rpc suggestion - Unknown unregistered chain (Mantle 5000) → shows finality warning + verifier gap - Testnet rejection: chain ID (84532) and RPC-derived (Base Sepolia) both blocked - Cross-chain verify: Arb→ETH (ARB_BOLD), Monad→ETH (INSTANT), Solana→ETH
- POST /chain/submit: validates RPC, rejects testnets, creates pending submission - Telegram notifications to Chefs group with inline approve/reject buttons - Submission tracking: jup chain submission --id <id> - On approval: chain added to warmbed + RPC whitelist expanded - Full integration guide: docs/CHAIN_INTEGRATION.md - E2E tested with Mantle (5000): submit → approve → warmbed → RPC accepted
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.
Taifoon Integration
The
jup taifooncommand group provides integration with Taifoon Network for AI trading agents:more at taifoon.io