Sheriza AI - Monad Agent is an AI-powered agent for cryptocurrency and blockchain operations on the Monad blockchain. The agent can help users deploy custom ERC-20 tokens using TokenMill and perform other blockchain-related tasks.
- Create and deploy custom ERC-20 tokens on the Monad blockchain
- Configure token parameters such as name, symbol.
- Automatic metadata generation and hosting
- Integration with Supabase for application tracking
The following environment variables need to be configured:
# Blockchain Configuration
EVM_PRIVATE_KEY=your_private_key
TM_FACTORY_ADDRESS=token_mill_factory_address
WMONAD_ADDRESS=wrapped_monad_address
# Database Configuration (Supabase)
SUPABASE_URL=your_supabase_url
SUPABASE_KEY=your_supabase_key
# Anthropic API Configuration
ANTHROPIC_API_KEY=your_anthropic_api_key
SMALL_ANTHROPIC_MODEL=claude-3-haiku-20240307
MEDIUM_ANTHROPIC_MODEL=claude-3-5-sonnet-20241022
LARGE_ANTHROPIC_MODEL=claude-3-5-sonnet-20241022
# Twitter Account Configuration
TWITTER_USERNAME=your_twitter_username
TWITTER_PASSWORD=your_twitter_password
TWITTER_EMAIL=your_twitter_email
TWITTER_2FA_SECRET=your_twitter_2fa_secret
Allows users to deploy a custom ERC-20 token with the following parameters:
- Name: The name of the token
- Symbol: The token symbol (ticker)
- Total Supply: The total number of tokens to create
- Decimals: The number of decimal places (default: 18)
- Creator Share: Percentage allocated to the creator (default: 5%)
- Staking Share: Percentage allocated to staking rewards (default: 5%)
Example usage:
"Create an ERC-20 token called 'DenverCoin' with symbol 'DEN' and a supply of 1,000,000"
- Clone the repository
git clone https://github.com/SherryLabs/sherry-agent-monad
cd sherry-agent-monad
- Install dependencies
pnpm install
-
Configure environment variables Create a
.env
file in the root directory and add the required environment variables. -
Start the agent
pnpm start --character='characters/sherry-agent.character.json'
The agent is built on the ElizaOS framework and uses:
- Viem for blockchain interactions
- Supabase for data storage
- Monad testnet for token deployment
- Token swapping functionality
- Portfolio management
- Multi-chain support
In this project, we utilized Wormhole to enable cross-chain transactions between the Monad and Avalanche networks. We deployed the sender contract on Monad, which initiates the transaction, and the receiver contract on Avalanche, which processes the incoming transaction. This setup allows us to seamlessly transfer data and assets across these two blockchain ecosystems. You can find the deployed sender contract on Monad here. The contract address is also available on the Monad explorer. This implementation demonstrates how Wormhole can be leveraged for efficient and secure cross-chain communication. Further details about the contract deployment and transaction flow can be explored in the provided links.
For this hackathon project, we integrated Privy to enhance user authentication and wallet management. Our application, named Sherry Playground, leverages Privy to provide a streamlined and secure user experience. You can access and test the application here: Sherry Playground.
Currently, Sherry Playground is in the testing phase, and we are actively working on integrating server wallets to expand its functionality. This feature will allow users to manage their wallets directly through the application, improving accessibility and usability. Stay tuned for updates as we continue to refine and enhance this integration.