👨‍💻Master Aelix: Your Guide to Blockchain Magic

Aelix | Monad AI Agent transforms your Monad Testnet experience with an intuitive, AI-powered interface. Follow these steps to connect and start exploring blockchain magic with Aelix! 🪄

Visiting the Aelix Website

Begin your journey by accessing Aelix’s online platform to interact with the Monad Testnet.

  • Action: Navigate to https://aelix-ai.vercel.app/.

  • Details: The website serves as your gateway to Aelix’s features, offering a user-friendly interface hosted on Vercel for fast and reliable access.

Connecting Your Wallet

Securely link your Monad Testnet wallet using the Privy authentication system.

  • Action: Click the “Connect Wallet” button on the website.

  • Details:

    • Aelix uses Privy for wallet authentication, ensuring a smooth and secure connection.

    • Select your wallet (e.g., MetaMask) configured for the Monad Testnet.

    • Follow the prompts to authenticate your wallet—Privy handles the process seamlessly.

  • Outcome: Once authenticated, your wallet is successfully connected to Aelix.

Accessing the Chat Interface

After connecting your wallet, dive into Aelix’s AI-powered chat to start interacting.

  • Action: The Aelix chat interface opens automatically after successful wallet connection.

  • Details:

    • This interface is your control center, powered by React and LangChain, for issuing commands and receiving responses.

    • The chat supports natural language processing, making it easy to communicate with Aelix.

  • Outcome: You’re now ready to query Aelix and explore its features.

Querying Aelix

Use the chat interface to set your wallet and perform blockchain operations with Aelix’s assistance.

  • Step 1: Setting Your Wallet

    • Action: Use the setWalletTool command to provide your private key.

    • Command: setWallet <your-private-key>

    • Response: Wallet set to address: 0xYourWalletAddress

    • Details:

      • Aelix currently uses a session-based approach, where the private key is stored in memory during the session and cleared when the session ends—no data is persisted.

      • Ensure your private key is from a Monad Testnet wallet (e.g., MetaMask) and keep it secure—never share it publicly.

      • View the live code at https://aelix-ai.vercel.app/ to understand the implementation.

    • Outcome: Once the wallet is set, Aelix gains the right to perform on-chain transactions from your wallet on your behalf.

  • Step 2: Performing On-Chain Operations

    • Action: Issue queries to execute blockchain operations.

    • Examples:

      • getBalanceBalance: 10 MONAD

      • transferTokens <recipient-address> 1Successfully transferred 1 MONAD to <recipient-address>. Transaction hash: 0x...

      • createToken MyToken MTK 1000Token MyToken (MTK) created with 1000 supply. Token address: 0x...

    • Details:

      • Aelix processes your queries using AI and executes operations like wallet management, token transfers, and token creation.

      • All transactions are performed directly from your connected wallet, leveraging the private key set in the session.

      • Future plans include enhancing security with a smart contract to manage keys on-chain, reducing server-side risks and improving safety.

    • Outcome: Aelix completes the requested operation and provides a response, enabling you to manage your Monad Testnet activities seamlessly.



Tips for Success:

  • Ensure your wallet has sufficient testnet MON tokens and gas for operations.

  • Use clear, concise queries for the best results—e.g., “get token price MONAD.”

  • If an error occurs, Aelix’s built-in error handling will provide feedback—try again or check your setup.

Last updated