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

Merged
merged 69 commits into from
Jan 17, 2025
Merged

Conversation

enigmarikki
Copy link
Contributor

@enigmarikki enigmarikki commented Jan 3, 2025

Relates to:

Interacting with Injective chain

Risks

  • [User Risk Level]: High, we enabled high leveraged trading on the injective's exchange module.
  • [Integration Risk Level]: Low, no rework on eliza-core. Potential conflicts in package.json.

Background

What does this PR do?

This PR implements a comprehensive suite of on-chain functions for the Injective blockchain, providing full-spectrum blockchain interaction capabilities across multiple domains:

  1. Market Creation and Management
  • Create new spot markets
  • Launch perpetual markets
  • Instant market launch capabilities
  1. Token Operations
  • Create custom tokens
  • Mint and burn tokens
  • Set token metadata
  • Manage token factory operations
  1. Trading Capabilities
  • Trade with leverage on perpetual markets
  • Create limit and market orders
  • Spot, derivative, and binary options trading
  • Batch order management
  • Position margin adjustment
  1. Other Interactions
  • Staking native Injective tokens
  • Perform cross-chain transfers
  • Participate in Initial DEX Offerings (IDOs)
  • Manage liquidity pools
  • Earn staking and trading rewards
  1. Governance and Administration
  • Submit and vote on governance proposals
  • Manage validator operations
  • Control network parameters
  • Grant and revoke account permissions
  1. Large-Scale Distribution
  • Conduct mass airdrops
  • Multi-send token transfers
  • Manage account balances across multiple addresses

The implementation covers virtually every on-chain interaction possible on the Injective blockchain, providing developers and users with a comprehensive toolkit for onchain operations.

What kind of change is this?

  • [Feature]: Non breaking change as a new functionality is added on top.

Documentation changes needed?

-[No]: people can just use ETH address to interact with injective chain.

Testing

Where should a reviewer start?

Detailed testing steps

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @enigmarikki! Welcome to the ai16z community. Thanks for submitting your first pull request; your efforts are helping us accelerate towards AGI. We'll review it shortly. You are now a ai16z contributor!

@shakkernerd shakkernerd changed the base branch from main to develop January 3, 2025 16:10
@shakkernerd shakkernerd added the Plugin_new Mark PRs that are a new plugin label Jan 3, 2025
@odilitime odilitime changed the title Feat/injective plugin Feat: injective plugin Jan 16, 2025
odilitime
odilitime previously approved these changes Jan 16, 2025
@odilitime odilitime enabled auto-merge (squash) January 16, 2025 07:10
auto-merge was automatically disabled January 17, 2025 00:13

Head branch was pushed to by a user without write access

@odilitime odilitime changed the title Feat: injective plugin feat: injective plugin Jan 17, 2025
@odilitime odilitime enabled auto-merge (squash) January 17, 2025 00:48
@odilitime odilitime merged commit f70c1cd into elizaOS:develop Jan 17, 2025
6 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Plugin_new Mark PRs that are a new plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants