Add birdeye-plugin with dual-mode apikey/x402 runtime#422
Open
dangquocdat97 wants to merge 6 commits intookx:mainfrom
Open
Add birdeye-plugin with dual-mode apikey/x402 runtime#422dangquocdat97 wants to merge 6 commits intookx:mainfrom
dangquocdat97 wants to merge 6 commits intookx:mainfrom
Conversation
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.
Plugin Submission
Plugin name: birdeye-plugin
Version: 0.1.0
Type: new-plugin
Checklist
plugin-store lintpasses locally with no errorsokx-,official-,plugin-store-)nameanddescriptionWhat does this plugin do?
birdeye-plugin provides Birdeye DeFi analytics access for agents with dual execution modes: API key mode and x402 pay-per-request mode.
It supports endpoint discovery/listing and generic endpoint calls for token, market, holder, trader, and smart-money data...
Which onchainos commands does it use?
None
Security Considerations
This plugin reads credentials from environment variables:
BIRDEYE_API_KEY for API key mode
SOLANA_PRIVATE_KEY (base58) for x402 mode
In x402 mode, requests may trigger micropayments signed by the provided Solana key.
Users should use a dedicated funded wallet (USDC on Solana mainnet) and keep private keys out of source control/logs.
Testing
Validated locally with lint and runtime tests:
Lint:
plugin-store lint /Users/datdq/birdeye/dev/plugin-store/skills/birdeye-plugin (pass)
API key mode:
list --mode apikey
call --endpoint search_v3 ...
call --endpoint ohlcv_v3 ...
call --endpoint top_traders_v2 ...
x402 mode (Node.js 20+):
call --endpoint price ... (successful paid call)
call --endpoint token_overview ...
call --endpoint token_meme_list_v3 ...
list --mode x402 verified x402-supported subset registry.