hackquest logo
  • Learn
  • Explore Course
  • Build
  • Explore Hackathon
  • Project Archive
  • Community
  • Forum
  • Global Event
  • My Community
  • Co-learning
  • Organization Hub
  • More
    • Glossary
    • Blog
    • Faucet
    • Job Station
    • Press Kit
    • Founder
hackquest logo

EDUChain ElizaOs Plugin

๐Ÿ”ฅ Revolutionize blockchain with EduChain! Command Open Campus Codex through ElizaOS AI using just words. Generate wallets, send tokens, deploy contractsโ€”no coding needed! ๐Ÿš€

Videos

Tech Stack

React
Next
Web3

Description

๐Ÿ”— EDUChain Plugin for ElizaOS

๐Ÿš€ Overview

The EduChain Plugin extends ElizaOS with powerful blockchain capabilities, creating a bridge between conversational AI and decentralized finance on the Open Campus Codex (EDU Chain) network. This plugin enables ElizaOS to interact with blockchain directly, providing a seamless experience for users to manage crypto assets, deploy smart contracts, and handle blockchain operations through natural language.

๐Ÿ’ก Features

Core Capabilities

  • ๐Ÿฆ Wallet Management

    • Generate new crypto wallets with secure keypairs

    • View wallet balances and transaction history

    • Secure private key handling

  • ๐Ÿ’ธ Token Operations

    • Transfer EDU tokens and other assets

    • Check token balances across different addresses

    • Handle ERC20, ERC721 (NFT), and ERC1155 tokens

  • ๐Ÿ“ Smart Contract Deployment

    • Deploy various token contracts (ERC20, ERC721, ERC1155)

    • Customize token parameters (name, symbol, supply, etc.)

    • One-click deployment with real-time status updates

Coming Soon

  • ๐ŸŒ‰ Cross-Chain Bridge - Transfer assets between EDU Chain and other networks

  • ๐Ÿ”„ Token Swap - Exchange different tokens directly through ElizaOS

๐Ÿ” Why ElizaOS with EduChain?

ElizaOS stands out as the world's most customizable AI assistant, offering unparalleled flexibility and integration capabilities. The EduChain plugin leverages this foundation to create the most user-friendly blockchain experience available.

Feature

ElizaOS + EduChain

Traditional AI Assistants

Local LLMs

Blockchain Interaction

โœ… Direct integration

โŒ External tools needed

โŒ No capability

Smart Contract Deployment

โœ… One-click deployment

โŒ Requires coding

โŒ No capability

Natural Language Commands

โœ… Highly contextual

โš ๏ธ Limited understanding

โš ๏ธ Basic commands only

Privacy

โœ… Configurable privacy

โŒ Data shared with providers

โœ… Local processing

Customizability

โœ… Fully customizable plugins

โš ๏ธ Limited extensibility

โš ๏ธ Difficult to extend

Performance

โœ… Optimized for blockchain

โš ๏ธ General purpose

โŒ Resource intensive

Local Development

โœ… Full developer toolkit

โŒ Closed ecosystem

โœ… Open but complex

๐Ÿ“‹ Use Cases

  • Educational Platforms: Integrate blockchain-based certification and rewards

  • DeFi Applications: Create conversational interfaces for financial operations

  • NFT Projects: Deploy and manage collectible assets through natural language

  • Blockchain Development: Streamline testing and deployment workflows

  • Decentralized Identity: Manage blockchain identities through conversational AI

๐Ÿ› ๏ธ Installation

  1. Create a "plugin-educhain" folder inside the ElizaOs packages folder.

  2. Upload the custom plugin to the packages folder:

packages/
โ”œโ”€plugin-educhain/
โ”œโ”€โ”€ package.json
โ”œโ”€โ”€ tsconfig.json
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ index.ts        # Main plugin entry
โ”‚   โ”œโ”€โ”€ actions/        # Custom actions
โ”‚   โ”œโ”€โ”€ providers/      # Data providers
โ”‚   โ”œโ”€โ”€ types.ts        # Type definitions
โ”‚   โ””โ”€โ”€ environment.ts  # Configuration
โ”œโ”€โ”€ README.md
โ””โ”€โ”€ LICENSE
  1. Add the custom plugin to your project's dependencies in the agent's package.json:

{
  "dependencies": {
    "@elizaos/plugin-educhain": "workspace:*"
  }
}
  1. Import the custom plugin to your agent's character.json

import { educhainPlugin } from "@elizaos/plugin-educhain"

  "plugins": [
    educhainPlugin,
  ],
  1. Create or update your .env file with the following variables:

# Open Campus Codex
EDUCHAIN_PRIVATE_KEY=0x1234
EDUCHAIN_PUBLIC_KEY=0x1234 #Optional
  • You can find the detailed setup guide for ElizaOS here.

๐Ÿงฉ Usage Example

// Now ElizaOS can handle blockchain-related commands
// "Generate a new wallet for me"
// "deploy an ERC20 token with name 'MyToken', symbol 'MTK', decimals 18, total supply 10000"
// "Get EDU balance of 0x1234"
// "Transfer 1 EDU to 0x742d35Cc6634C0532925a3b844Bc454e4438f44e"

๐Ÿงช Technical Deep Dive

The EduChain plugin is built on modern TypeScript and integrates with:

  • Viem: For type-safe Ethereum interactions

  • Ethers.js: For wallet generation and management

  • Solidity: For smart contract compilation and deployment

  • Web3.js: For additional blockchain functionality

The plugin handles complex blockchain operations under the hood while providing simple interfaces that ElizaOS can use to respond to natural language requests.

๐Ÿค Contributing

We welcome contributions from the community!

Team Leader
RRey11
Project Link
Sector
AI