-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Pyth Data Plugin #2434
Merged
Merged
feat: Pyth Data Plugin #2434
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
d9e1090
feat(pyth): add Pyth Data plugin
AIFlowML 8b59428
feat: Wrap up changes for Pyth Data integration
AIFlowML ce11da5
Save local changes before merging upstream
AIFlowML 2476624
Update index.ts, package.json, and add .env.example for Pyth Data int…
AIFlowML 9b103a3
Fix merge conflicts and resolve inconsistencies
AIFlowML 8421afb
Missing lock
AIFlowML 9e041e9
Merge branch 'develop' into feat-pyth-data-plugin-v1
wtfsayo d4eb79b
Merge branch 'develop' into feat-pyth-data-plugin-v1
wtfsayo df5fc8b
consistent solana plugin version
wtfsayo 1294403
fix iq6900 plugin breaking
wtfsayo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import eslintGlobalConfig from "../../eslint.config.mjs"; | ||
|
||
export default [ | ||
...eslintGlobalConfig, | ||
{ | ||
files: ["src/**/*.ts"], | ||
rules: { | ||
// Disable problematic rules | ||
"@typescript-eslint/no-unused-expressions": "off", | ||
"@typescript-eslint/no-explicit-any": "warn", | ||
"@typescript-eslint/no-unsafe-member-access": "off", | ||
"@typescript-eslint/no-unsafe-assignment": "off", | ||
"@typescript-eslint/no-unsafe-return": "off", | ||
"@typescript-eslint/no-unsafe-call": "off", | ||
}, | ||
}, | ||
]; |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
{ | ||
"name": "@elizaos/plugin-pyth-data", | ||
"version": "1.0.0", | ||
"description": "Pyth Network data plugin for Eliza", | ||
"type": "module", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"scripts": { | ||
"build": "tsup --format esm --dts", | ||
"test": "vitest", | ||
"lint": "eslint src --ext .ts", | ||
"clean": "rimraf dist", | ||
"build:schemas": "openapi-zod-client ./schema.json --output src/types/zodSchemas.ts", | ||
"pull:schema": "curl -o schema.json -z schema.json https://hermes.pyth.network/docs/openapi.json", | ||
"prebuild": "pnpm run pull:schema && pnpm run build:schemas" | ||
}, | ||
"dependencies": { | ||
"@elizaos/core": "^0.1.7", | ||
"@pythnetwork/client": "^2.22.0", | ||
"@pythnetwork/hermes-client": "^1.3.0", | ||
"@solana/web3.js": "1.95.8", | ||
"@zodios/core": "^10.9.6", | ||
"ajv": "^8.12.0", | ||
"buffer": "6.0.3", | ||
"chalk": "^5.4.1", | ||
"cli-table3": "^0.6.5", | ||
"cross-fetch": "^4.0.0", | ||
"eventsource": "^3.0.2", | ||
"jstat": "^1.9.6", | ||
"ora": "^8.1.1", | ||
"zod": "^3.23.8" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^20.8.2", | ||
"@typescript-eslint/eslint-plugin": "^6.7.4", | ||
"@typescript-eslint/parser": "^6.7.4", | ||
"eslint": "^8.50.0", | ||
"openapi-zod-client": "^1.18.1", | ||
"rimraf": "^5.0.5", | ||
"tsup": "^8.0.0", | ||
"typescript": "^5.2.2", | ||
"vitest": "^1.0.0" | ||
}, | ||
"peerDependencies": { | ||
"@elizaos/core": "^0.1.7" | ||
}, | ||
"engines": { | ||
"node": ">=16.0.0" | ||
}, | ||
"keywords": [ | ||
"eliza", | ||
"plugin", | ||
"pyth", | ||
"oracle", | ||
"price-feed" | ||
], | ||
"author": "Eliza Team", | ||
"license": "MIT" | ||
} |
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lots of duplicate keys
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all fixed.
Git exploded