Getting Started
Getting Started
Prerequisites
Before you begin working with Move Agent Kit, ensure you have the following prerequisites installed:
Node.js 16.x or higher
Git
Installation
Using npm
npm i move-agent-kitFrom Source
git clone https://github.com/Metamove/move-agent-kit
cd move-agent-kit
npm iQuick Start Guide
1. Basic Setup
First, import the necessary modules:
2. Configure Your Environment
Create a configuration file .env in your project root:
3. Initialize the Client
4. Basic Operations Examples
Token Transfer
Read Blockchain Data
Working with Langchain
Next Steps
Explore the Core Components documentation for detailed information about each module
Check out the Examples section for more complex usage scenarios
Review the Security Considerations for best practices when using the kit
Troubleshooting Common Issues
Connection Issues
If you're experiencing connection issues:
Verify your node URL is correct and accessible
Check your network connectivity
Ensure your node is synced
Transaction Failures
Common causes of transaction failures:
Insufficient gas
Invalid account permissions
Network congestion
For more detailed troubleshooting, refer to the Troubleshooting section.
Last updated