🔥 Revolutionize blockchain with EduChain! Command Open Campus Codex through ElizaOS AI using just words. Generate wallets, send tokens, deploy contracts—no coding needed! 🚀
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.
🏦 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
🌉 Cross-Chain Bridge - Transfer assets between EDU Chain and other networks
🔄 Token Swap - Exchange different tokens directly through ElizaOS
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 |
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
Create a "plugin-educhain" folder inside the ElizaOs packages folder.
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
Add the custom plugin to your project's dependencies in the agent's package.json:
{
"dependencies": {
"@elizaos/plugin-educhain": "workspace:*"
}
}
Import the custom plugin to your agent's character.json
import { educhainPlugin } from "@elizaos/plugin-educhain"
"plugins": [
educhainPlugin,
],
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.
// 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"
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.
We welcome contributions from the community!