BlockMate is a collection of LangChain agents and tools for building Decentralized Educational Applications on EduChain - Arbitrum. It provides a set of pre-built agents and tools that can be easily integrated into your own Decentralized Application, allowing you to quickly build and deploy educational solutions on the EduChain blockchain - Arbitrum.
https://www.loom.com/share/4fc6808b832e4c84a35f557f5142dbb9
https://www.loom.com/share/cd00a985adce4ebcbffa4cec8bac7f7e
- Pre-built LangChain agents for on-chain educational applications
- Integration with Google's Generative AI
- Blockchain integration capabilities via ethers.js
- TypeScript support for type safety
- Modular architecture for easy extension
- Comprehensive wallet management tools
- Smart contract interaction capabilities
- Token and balance querying functionality
-
- Create fungible tokens with minimal parameters (name, symbol, decimals, supply, etc.).
- Mint additional tokens to existing token accounts.
-
- Create Fungible Tokens (FT): Easily create and configure new fungible tokens.
- Create Non-fungible Tokens (NFT): Easily create and configure new non-fungible tokens.
- Transfer Tokens: Transfer tokens between accounts.
-
- Transfer EDU token between accounts
- Node.js (Latest LTS version recommended)
- npm or yarn package manager
- TypeScript knowledge for development
- Access to EduChain testnet (for blockchain operations)
git clone https://github.com/rodweleo/blockmate.gitsrc/
βββ agent/ # LangChain agent implementations
βββ langchain/ # LangChain specific configurations
βββ tools/ # Custom tools and utilities
β βββ wallet/ # Wallet management tools
β β βββ create/ # Wallet creation utilities
β β βββ queries/ # Wallet query tools
β β βββ transactions/# Transaction handling tools
β βββ smart-contracts/ # Smart contract interaction tools
β βββ queries/ # General query tools
β βββ tokens/ # Token-related queries
β βββ balances/ # Balance checking tools
βββ types/ # TypeScript type definitions
βββ utils/ # Helper functions and utilities
cd blockmate
npm installGOOGLE_API_KEY = "your-google-gemini-api-key"
EDUCHAIN_TESTNET_BASE_URL = 'https://edu-chain-testnet.blockscout.com'
MAINNET_EDUCHAIN_RPC_URL = 'https://rpc.edu-chain.raas.gelato.cloud'
TESTNET_EDUCHAIN_RPC_URL = 'https://rpc.open-campus-codex.gelato.digital'
EDUCHAIN_OPERATOR_ADDRESS = 'your-edu-wallet-address'
EDUCHAIN_OPERATOR_PRIVATE_KEY = 'your-edu-wallet-private-key'
CUSTODIAL_MODE = "false"npm run start- @langchain/core: ^0.3.43 - Core LangChain functionality
- @langchain/google-genai: ^0.2.2 - Google's Generative AI integration
- @langchain/langgraph: ^0.2.63 - LangGraph for agent workflows
- dotenv: ^16.4.7 - Environment variable management
- ethers: ^6.13.5 - Ethereum interaction library
- @types/node: ^22.14.0 - Node.js type definitions
- ts-node: ^10.9.2 - TypeScript execution environment
- typescript: ^5.8.3 - TypeScript compiler
- vitest: ^3.1.1 - Testing framework
npm run build: Compiles TypeScript code to JavaScriptnpm run start: Starts up the BlockMate agent on the CLI
Contributions are welcome! Please feel free to submit a Pull Request.
For details on upcoming features, check out our ROADMAP.md . If youβd like to tackle one of the tasks, look at the open issues on GitHub or create a new one if you donβt see what youβre looking for.
This project is licensed under the MIT License - see the LICENSE file for details.
Rodwell Leo
For support, please:
- Check the documentation
- Open an issue on GitHub
- Contact the maintainers