A plugin for interacting with the Abstract blockchain network within the ElizaOS ecosystem.
The Abstract plugin enables seamless token transfers on the Abstract testnet. It provides functionality to transfer both native ETH and ERC20 tokens using secure wallet operations.
pnpm install @elizaos/plugin-lensNetwork
The plugin requires the following environment variables to be set:
LENS_ADDRESS=<Your Lens wallet address>
LENS_PRIVATE_KEY=<Your Lens private key>
import { lensPlugin } from '@elizaos/plugin-lensNetwork';
// The plugin responds to natural language commands like:
"Send 1 Grass to 0xCCa8009f5e09F8C5dB63cb0031052F9CB635Af62"
Transfers tokens from the agent's wallet to another address.
Aliases:
- TRANSFER_TOKEN_ON_LENS
- TRANSFER_TOKENS_ON_LENS
- SEND_TOKENS_ON_LENS
- SEND_ETH_ON_LENS
- PAY_ON_LENS
- MOVE_TOKENS_ON_LENS
- MOVE_ETH_ON_LENS
-
Transaction Failures
- Verify wallet has sufficient balance
- Check recipient address format
- Ensure private key is correctly set
- Verify network connectivity
-
Configuration Issues
- Verify all required environment variables are set
- Ensure private key format is correct
- Check wallet address format
- Private Key Management
- Store private key securely using environment variables
- Never commit private keys to version control
- Use separate wallets for development and production
- Monitor wallet activity regularly
- Clone the repository
- Install dependencies:
pnpm install
- Build the plugin:
pnpm run build
- Run the plugin:
pnpm run dev