Skip to content
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/injective plugin #1764

Draft
wants to merge 40 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
d765994
"plugin: init injective integration and skeleton"
enigmarikki Jan 2, 2025
e97e8a5
"wip : skeleton partially done"
enigmarikki Jan 3, 2025
18e45d9
"wip: finished fetch"
enigmarikki Jan 3, 2025
c843f1a
"chore : fix format"
enigmarikki Jan 3, 2025
2b7be64
"chore : renamed files"
enigmarikki Jan 3, 2025
aceb000
"wip: completed grpc endpoints for onchain queries"
enigmarikki Jan 3, 2025
b681954
"chore : removed unwanted files"
enigmarikki Jan 3, 2025
e7350c3
"wip : adding templates + integrating onchain functions"
enigmarikki Jan 3, 2025
5c188f7
"wip : added inital version of templates"
enigmarikki Jan 3, 2025
f010cc4
"wip : testing the plugin"
enigmarikki Jan 3, 2025
75d0245
"wip : skeleton for actions, providers"
enigmarikki Jan 3, 2025
91dd9f7
"chore: renamed and fixed relative imports"
enigmarikki Jan 3, 2025
4176832
"wip : added message broadcasting rpcs"
enigmarikki Jan 6, 2025
e75da23
"feat : finished initial version of message parsing and querying"
enigmarikki Jan 6, 2025
901897b
"chore : refactor package.json"
enigmarikki Jan 6, 2025
8fc1b83
"chore: added chain message broadcasters to the InjectiveGrpcBase"
enigmarikki Jan 6, 2025
84e0fc0
"wip : restructure actions and providers"
enigmarikki Jan 7, 2025
ffc49af
"chore : fix conflicts on lockfile"
enigmarikki Jan 7, 2025
cb70101
"chore: added readme.md to use injective-sdk-client-ts"
enigmarikki Jan 7, 2025
25dc90a
"chore : renamed the package to ensure consistency and updated the docs"
enigmarikki Jan 7, 2025
3ceb205
"chore : refactored function args to make it easy to define function …
enigmarikki Jan 7, 2025
21f7371
"fix : missing imports for wasm"
enigmarikki Jan 7, 2025
7902da2
"wip : refactor injective types and templates"
enigmarikki Jan 7, 2025
18cda84
"chore : refactored the types into different files for maintainability"
enigmarikki Jan 8, 2025
67b9b6e
"chore : fmt"
enigmarikki Jan 8, 2025
81130e2
"wip : refactor the responses for standard message parsing"
enigmarikki Jan 8, 2025
c4a7472
Merge pull request #1 from enigmarikki/chore/refactor-templates
enigmarikki Jan 8, 2025
e3155bd
"chore : refactored all modules to ouput same a common message type"
enigmarikki Jan 8, 2025
d332a07
"wip : minimal tests"
enigmarikki Jan 9, 2025
f81b640
"fix: the grpc init + bug in making request"
enigmarikki Jan 9, 2025
30b9957
"wip : done with skeleton templates"
enigmarikki Jan 9, 2025
9d6a8d8
"chore : reorgranize files"
enigmarikki Jan 9, 2025
bc0b4c7
"wip : adding exchange templates"
enigmarikki Jan 9, 2025
91dc9fd
"chore : added fmt and finished comprehensive template for exchange m…
enigmarikki Jan 9, 2025
b5c5567
"wip: refactored templates for auction and bank"
enigmarikki Jan 9, 2025
8b133b7
"wip : almost done refactoring all the templates to add both the requ…
enigmarikki Jan 10, 2025
6bc3a79
"chore : renamed to gov for consistency and added the explorer module"
enigmarikki Jan 10, 2025
317b3d3
"fix : removed minor import into exchange"
enigmarikki Jan 10, 2025
bee1a3d
"wip : added the base action"
enigmarikki Jan 10, 2025
d9a4b4e
"feat: finished integrating actions, wip fix for templates and examples"
enigmarikki Jan 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions packages/plugin-injective/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import eslintGlobalConfig from "../../eslint.config.mjs";

export default [...eslintGlobalConfig];
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules/
dist/
build/
23 changes: 23 additions & 0 deletions packages/plugin-injective/injective-sdk-client-ts/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
module.exports = {
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
// TypeScript-specific rules
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }],

// General ESLint rules
"no-console": "warn",
"eqeqeq": "error",
"no-duplicate-imports": "error",
"prefer-const": "warn"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
import globals from "globals";
import pluginJs from "@eslint/js";
import tseslint from "typescript-eslint";

export default [
{
files: ["**/*.{js,mjs,cjs,ts}"],
languageOptions: {
globals: {
...globals.browser,
...globals.node
},
parserOptions: {
ecmaVersion: "latest",
sourceType: "module"
}
}
},
pluginJs.configs.recommended,
...tseslint.configs.recommended,
{
rules: {
// Customize rules as needed
"no-unused-vars": "warn",
"@typescript-eslint/no-explicit-any": "warn",
"no-console": "warn"
}
},
{
ignores: [
"node_modules/",
"dist/",
"build/",
"**/*.d.ts"
]
}
];
Loading
Loading